diff --git a/cogl/gl-prototypes/cogl-glsl-functions.h b/cogl/gl-prototypes/cogl-glsl-functions.h index b0eff7ef9..a2b7abc9d 100644 --- a/cogl/gl-prototypes/cogl-glsl-functions.h +++ b/cogl/gl-prototypes/cogl-glsl-functions.h @@ -258,11 +258,6 @@ COGL_EXT_FUNCTION (void, glGetAttachedShaders, GLsizei maxcount, GLsizei* count, GLuint* shaders)) -COGL_EXT_FUNCTION (void, glGetShaderPrecisionFormat, - (GLenum shadertype, - GLenum precisiontype, - GLint* range, - GLint* precision)) COGL_EXT_FUNCTION (void, glGetShaderSource, (GLuint shader, GLsizei bufsize, @@ -274,12 +269,6 @@ COGL_EXT_FUNCTION (GLboolean, glIsShader, COGL_EXT_FUNCTION (GLboolean, glIsProgram, (GLuint program)) -COGL_EXT_FUNCTION (void, glShaderBinary, - (GLsizei n, - const GLuint* shaders, - GLenum binaryformat, - const GLvoid* binary, - GLsizei length)) COGL_EXT_FUNCTION (void, glValidateProgram, (GLuint program)) COGL_EXT_END () diff --git a/cogl/gl-prototypes/cogl-in-gles2-core-functions.h b/cogl/gl-prototypes/cogl-in-gles2-core-functions.h index 2157cd96d..f39bd2765 100644 --- a/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +++ b/cogl/gl-prototypes/cogl-in-gles2-core-functions.h @@ -151,6 +151,17 @@ COGL_EXT_BEGIN (gles2_only_api, "\0", "\0") COGL_EXT_FUNCTION (void, glReleaseShaderCompiler, (void)) +COGL_EXT_FUNCTION (void, glGetShaderPrecisionFormat, + (GLenum shadertype, + GLenum precisiontype, + GLint* range, + GLint* precision)) +COGL_EXT_FUNCTION (void, glShaderBinary, + (GLsizei n, + const GLuint* shaders, + GLenum binaryformat, + const GLvoid* binary, + GLsizei length)) COGL_EXT_END () /* GL and GLES 2.0 apis */