summaryrefslogtreecommitdiff
path: root/src/renderercommon/qgl.h
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2016-01-18 23:30:36 -0800
committerTim Angus <tim@ngus.net>2016-04-07 11:53:16 +0100
commit95633de9cb7414060e6d7c1102dd85385f203311 (patch)
treeb05d82272cfee40acd0ae32d02d1b1f5c270a6d4 /src/renderercommon/qgl.h
parent970b21fbcd3d42e641807ac0c5e9a29dc21095e9 (diff)
OpenGL2: Direct state access, part 2: Uniforms.
Diffstat (limited to 'src/renderercommon/qgl.h')
-rw-r--r--src/renderercommon/qgl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/renderercommon/qgl.h b/src/renderercommon/qgl.h
index 232a1869..f4d30bf0 100644
--- a/src/renderercommon/qgl.h
+++ b/src/renderercommon/qgl.h
@@ -1004,6 +1004,20 @@ extern GLvoid(APIENTRY * qglCompressedTextureSubImage2D)(GLuint texture, GLenum
GLsizei imageSize, const GLvoid *data);
extern GLvoid(APIENTRY * qglGenerateTextureMipmap)(GLuint texture, GLenum target);
+extern GLvoid(APIENTRY * qglProgramUniform1i)(GLuint program, GLint location, GLint v0);
+extern GLvoid(APIENTRY * qglProgramUniform1f)(GLuint program, GLint location, GLfloat v0);
+extern GLvoid(APIENTRY * qglProgramUniform2f)(GLuint program, GLint location,
+ GLfloat v0, GLfloat v1);
+extern GLvoid(APIENTRY * qglProgramUniform3f)(GLuint program, GLint location,
+ GLfloat v0, GLfloat v1, GLfloat v2);
+extern GLvoid(APIENTRY * qglProgramUniform4f)(GLuint program, GLint location,
+ GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+extern GLvoid(APIENTRY * qglProgramUniform1fv)(GLuint program, GLint location,
+ GLsizei count, const GLfloat *value);
+extern GLvoid(APIENTRY * qglProgramUniformMatrix4fv)(GLuint program, GLint location,
+ GLsizei count, GLboolean transpose,
+ const GLfloat *value);
+
#if defined(WIN32)
// WGL_ARB_create_context