From f319e2f2ebda579d5c1d94ba24f650d362aacb9c Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 18 Aug 2011 16:26:21 -0700 Subject: implement EGL_TEXTURE_EXTERNAL_OES in libagl this allows the emulator to display some graphics Change-Id: Ib4671ad70b8df598d02307f2b9c5b843421cea25 --- opengl/libagl/state.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'opengl/libagl/state.cpp') 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: -- cgit v1.2.3-59-g8ed1b