changeset 3118:5ba12c32ac6a

Added few OpenGL ES 1.0 defines, which are not present in OpenGL ES 1.1 and 2.0.
author Mike Gorchak <lestat@i.com.ua>
date Wed, 06 May 2009 09:46:55 +0000
parents 39da34152ad6
children f78ed7625325
files include/SDL_opengles.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */