aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-func.h
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-02 15:16:05 +0100
committerJohannes Schickel2016-03-16 20:29:31 +0100
commitbaca885cfce10acaa7a9892133aaa5b82c7183f7 (patch)
tree8f1c0d94fac540185c385dac292615f7d82cfe51 /backends/graphics/opengl/opengl-func.h
parent6dacc96d1f6ed804197382c59765c8cec5146c62 (diff)
downloadscummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.tar.gz
scummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.tar.bz2
scummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.zip
OPENGL: Let Shader store the uniform state.
Diffstat (limited to 'backends/graphics/opengl/opengl-func.h')
-rw-r--r--backends/graphics/opengl/opengl-func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-func.h b/backends/graphics/opengl/opengl-func.h
index 554ac3c6ff..ad7c572ca9 100644
--- a/backends/graphics/opengl/opengl-func.h
+++ b/backends/graphics/opengl/opengl-func.h
@@ -108,6 +108,7 @@ GL_FUNC_DEF(GLenum, glGetError, ());
#if !USE_FORCED_GLES
GL_FUNC_2_DEF(void, glEnableVertexAttribArray, glEnableVertexAttribArrayARB, (GLuint index));
GL_FUNC_2_DEF(void, glUniform1i, glUniform1iARB, (GLint location, GLint v0));
+GL_FUNC_2_DEF(void, glUniform1f, glUniform1fARB, (GLint location, GLfloat v0));
GL_FUNC_2_DEF(void, glUniformMatrix4fv, glUniformMatrix4fvARB, (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value));
GL_FUNC_2_DEF(void, glVertexAttrib4f, glVertexAttrib4fARB, (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w));
GL_FUNC_2_DEF(void, glVertexAttribPointer, glVertexAttribPointerARB, (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer));