summaryrefslogtreecommitdiffstats
path: root/include/GL/gl.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-08-15 16:47:34 +0000
committerIan Romanick <[email protected]>2006-08-15 16:47:34 +0000
commit8c41c757fe8efa04df0dd5cdfb33a75b84891c19 (patch)
tree23d57eea7976a8594b7ee64b2a39a5c3738c1162 /include/GL/gl.h
parent5208d93a418c2d1f9db67e3760117ceb659b7f7c (diff)
Add support for GL_EXT_gpu_program_parameters. Any driver that enables
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
Diffstat (limited to 'include/GL/gl.h')
-rw-r--r--include/GL/gl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 25f90e30860..40f3b9da777 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -2312,6 +2312,24 @@ typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC)
#endif /* GL_EXT_packed_depth_stencil */
+#ifndef GL_EXT_gpu_program_parameters
+#define GL_EXT_gpu_program_parameters 1
+
+GLAPI void GLAPIENTRY glProgramEnvParameters4fvEXT(GLenum target,
+ GLuint index, GLsizei count, const GLfloat *params);
+
+GLAPI void GLAPIENTRY glProgramLocalParameters4fvEXT(GLenum target,
+ GLuint index, GLsizei count, const GLfloat *params);
+
+typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)
+ (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+
+typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)
+ (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
+
+#endif /* GL_EXT_gpu_program_parameters */
+
+
#ifndef GL_EXT_texture_sRGB
#define GL_EXT_texture_sRGB 1