# HG changeset patch # User Mike Gorchak # Date 1241603215 0 # Node ID 5ba12c32ac6a444a5110a1fa7db510a63a35a990 # Parent 39da34152ad6ffef478e9ce8504217504f2636bc Added few OpenGL ES 1.0 defines, which are not present in OpenGL ES 1.1 and 2.0. diff -r 39da34152ad6 -r 5ba12c32ac6a 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 */