summaryrefslogtreecommitdiffstats
path: root/chromium/gpu/GLES2/gl2chromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/GLES2/gl2chromium.h')
-rw-r--r--chromium/gpu/GLES2/gl2chromium.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/gpu/GLES2/gl2chromium.h b/chromium/gpu/GLES2/gl2chromium.h
index 3b429049c2d..42889dd3fa3 100644
--- a/chromium/gpu/GLES2/gl2chromium.h
+++ b/chromium/gpu/GLES2/gl2chromium.h
@@ -11,6 +11,9 @@
#define GL_CONTEXT_LOST 0x300E
+#if defined(GLES2_USE_MOJO)
+#define GLES2_GET_FUN(name) MojoGLES2gl ## name
+#else
// Because we are using both the real system GL and our own
// emulated GL we need to use different names to avoid conflicts.
#if defined(GLES2_USE_CPP_BINDINGS)
@@ -18,6 +21,7 @@
#else
#define GLES2_GET_FUN(name) GLES2 ## name
#endif
+#endif
#include <GLES2/gl2chromium_autogen.h>