Browse Source

Backed out changeset 6c8521d53507

Apparently this still triggers a compiler warning, have to dig further.
Ryan C. Gordon 7 years ago
parent
commit
8891f5919f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/render/opengles2/SDL_gles2funcs.h

+ 1 - 1
src/render/opengles2/SDL_gles2funcs.h

@@ -54,7 +54,7 @@ SDL_PROC(void, glPixelStorei, (GLenum, GLint))
 SDL_PROC(void, glReadPixels, (GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid*))
 SDL_PROC(void, glScissor, (GLint, GLint, GLsizei, GLsizei))
 SDL_PROC(void, glShaderBinary, (GLsizei, const GLuint *, GLenum, const void *, GLsizei))
-#if __NACL__
+#if __NACL__ || __ANDROID__
 SDL_PROC(void, glShaderSource, (GLuint, GLsizei, const GLchar **, const GLint *))
 #else
 SDL_PROC(void, glShaderSource, (GLuint, GLsizei, const GLchar* const*, const GLint *))