diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-10-16 01:16:54 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-10-16 01:16:54 +0000 |
commit | 33899b7c351fda77bed6dee5e5d02e31c2f7e0e5 (patch) | |
tree | 4bd56b79459db045b187e6aabc5027f359f80721 /include | |
parent | 83c74b72792928b5a5ac540eeef65fca3145ddb6 (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')
-rw-r--r-- | include/GL/gl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index 3f3f310f85..0bf4cd8097 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 |