Added few OpenGL ES 1.0 defines, which are not present in OpenGL ES 1.1 and 2.0.
authorMike Gorchak <lestat@i.com.ua>
Wed, 06 May 2009 09:46:55 +0000
changeset 3118 5ba12c32ac6a
parent 3117 39da34152ad6
child 3119 f78ed7625325
Added few OpenGL ES 1.0 defines, which are not present in OpenGL ES 1.1 and 2.0.
include/SDL_opengles.h
--- a/include/SDL_opengles.h	Wed May 06 07:00:32 2009 +0000
+++ b/include/SDL_opengles.h	Wed May 06 09:46:55 2009 +0000
@@ -344,6 +344,14 @@
 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
 
+/* OpenGL ES 1.0 defines, they gone in 1.1 and 2.0 */
+#ifndef GL_MAX_ELEMENTS_VERTICES
+#define GL_MAX_ELEMENTS_VERTICES          0x80E8
+#endif /* GL_MAX_ELEMENTS_VERTICES */
+#ifndef GL_MAX_ELEMENTS_INDICES
+#define GL_MAX_ELEMENTS_INDICES           0x80E9
+#endif /* GL_MAX_ELEMENTS_INDICES */
+
 /* GetTextureParameter */
 /*      GL_TEXTURE_MAG_FILTER */
 /*      GL_TEXTURE_MIN_FILTER */