summaryrefslogtreecommitdiff
path: root/opengl/libagl/state.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-08-18 18:53:21 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-08-18 18:53:21 -0700
commit28a5cc2b1d1db519e7799a867094cda096aa74cc (patch)
tree180ed405b575ce7b303937dcb3bb03e77ac299b2 /opengl/libagl/state.cpp
parent0f4739f7d0d121e9cd07dd556d227f878f7bed0f (diff)
parentf319e2f2ebda579d5c1d94ba24f650d362aacb9c (diff)
Merge "implement EGL_TEXTURE_EXTERNAL_OES in libagl"
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r--opengl/libagl/state.cpp3
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: