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 31185ba12c32ac6a
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
     1.1 --- a/include/SDL_opengles.h	Wed May 06 07:00:32 2009 +0000
     1.2 +++ b/include/SDL_opengles.h	Wed May 06 09:46:55 2009 +0000
     1.3 @@ -344,6 +344,14 @@
     1.4  #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
     1.5  #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
     1.6  
     1.7 +/* OpenGL ES 1.0 defines, they gone in 1.1 and 2.0 */
     1.8 +#ifndef GL_MAX_ELEMENTS_VERTICES
     1.9 +#define GL_MAX_ELEMENTS_VERTICES          0x80E8
    1.10 +#endif /* GL_MAX_ELEMENTS_VERTICES */
    1.11 +#ifndef GL_MAX_ELEMENTS_INDICES
    1.12 +#define GL_MAX_ELEMENTS_INDICES           0x80E9
    1.13 +#endif /* GL_MAX_ELEMENTS_INDICES */
    1.14 +
    1.15  /* GetTextureParameter */
    1.16  /*      GL_TEXTURE_MAG_FILTER */
    1.17  /*      GL_TEXTURE_MIN_FILTER */