Skip to content

Commit

Permalink
Add missing GLchar definition, some gl/gles apps needs that to compil…
Browse files Browse the repository at this point in the history
…e correctly
  • Loading branch information
raoulh committed Jan 10, 2014
1 parent 9971394 commit b36c946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/GLES/gl.h
Expand Up @@ -29,6 +29,7 @@ typedef float GLfloat;
typedef float GLclampf;
typedef signed int GLfixed;
typedef signed int GLclampx;
typedef char GLchar;

typedef int * GLintptr;
typedef int * GLsizeiptr;
Expand Down
1 change: 1 addition & 0 deletions include/GLES2/gl2.h
Expand Up @@ -32,6 +32,7 @@ typedef unsigned int GLuint;
typedef khronos_float_t GLfloat;
typedef khronos_float_t GLclampf;
typedef khronos_int32_t GLfixed;
typedef char GLchar;

/* GL types for handling large vertex buffer objects */
typedef khronos_intptr_t GLintptr;
Expand Down

0 comments on commit b36c946

Please sign in to comment.