summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-10-16 01:16:54 +0000
committerIan Romanick <[email protected]>2004-10-16 01:16:54 +0000
commit33899b7c351fda77bed6dee5e5d02e31c2f7e0e5 (patch)
tree4bd56b79459db045b187e6aabc5027f359f80721 /include/GL
parent83c74b72792928b5a5ac540eeef65fca3145ddb6 (diff)
Add support for OES_read_format. As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 3f3f310f855..0bf4cd8097d 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -2226,6 +2226,17 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen
#endif /* GL_ATI_blend_equation_separate */
+/* As soon as the official glext.h is updated to include this, it will be
+ * removed from here.
+ */
+#ifndef GL_OES_read_format
+#define GL_OES_read_format 1
+
+#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
+#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
+
+#endif /* GL_OES_read_format */
+
/**
** NOTE!!!!! If you add new functions to this file, or update
** glext.h be sure to regenerate the gl_mangle.h file. See comments