summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2/gl2ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/GLES2/gl2ext.h')
-rw-r--r--gpu/GLES2/gl2ext.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gpu/GLES2/gl2ext.h b/gpu/GLES2/gl2ext.h
index 35ac011..ccfa910 100644
--- a/gpu/GLES2/gl2ext.h
+++ b/gpu/GLES2/gl2ext.h
@@ -909,6 +909,19 @@ typedef void* (GL_APIENTRYP PFNGLCOPYTEXTURETOPARENTTEXTURE) (GLuint id, GLuint
#endif
#endif
+/* GL_CHROMIUM_resize */
+#ifndef GL_CHROMIUM_resize
+#define GL_CHROMIUM_resize 1
+#ifdef GL_GLEXT_PROTOTYPES
+#define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM)
+#if !defined(GLES2_USE_CPP_BINDINGS)
+GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint height);
+#endif
+#else
+typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height);
+#endif
+#endif
+
#ifdef __cplusplus
}