diff options
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r-- | opengl/libagl/state.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp index 90e9612..7321182 100644 --- a/opengl/libagl/state.cpp +++ b/opengl/libagl/state.cpp @@ -191,9 +191,11 @@ 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; +#ifndef MISSING_EGL_EXTERNAL_IMAGE case GL_TEXTURE_EXTERNAL_OES: c->rasterizer.procs.enableDisable(c, GL_TEXTURE_2D, enabled); break; +#endif case GL_MULTISAMPLE: case GL_SAMPLE_ALPHA_TO_COVERAGE: |