diff options
author | 2011-08-18 16:26:21 -0700 | |
---|---|---|
committer | 2011-08-18 16:26:21 -0700 | |
commit | f319e2f2ebda579d5c1d94ba24f650d362aacb9c (patch) | |
tree | ccab8ab141098350e220cc8fb587b958a3726a2d /opengl/libagl/state.cpp | |
parent | 8618ebcc5d20a5983da1fc6200d50c3662aca6e3 (diff) |
implement EGL_TEXTURE_EXTERNAL_OES in libagl
this allows the emulator to display some graphics
Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r-- | opengl/libagl/state.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp index 8b4136a45622..90e9612b8386 100644 --- a/opengl/libagl/state.cpp +++ b/opengl/libagl/state.cpp @@ -191,6 +191,9 @@ static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) // these need to fall through into the rasterizer c->rasterizer.procs.enableDisable(c, cap, enabled); break; + case GL_TEXTURE_EXTERNAL_OES: + c->rasterizer.procs.enableDisable(c, GL_TEXTURE_2D, enabled); + break; case GL_MULTISAMPLE: case GL_SAMPLE_ALPHA_TO_COVERAGE: |