From 957b5583ed2d12820b550f76e0f8ff1959f6a52c Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 22 Jan 2002 15:55:58 +0000 Subject: add GL_PER_STAGE_CONSTANTS_NV --- include/GL/glext.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/GL/glext.h b/include/GL/glext.h index 774d57284c..bb3b7b7dee 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -1351,6 +1351,10 @@ extern "C" { /* reuse GL_FOG */ #endif +#ifndef GL_NV_register_combiners2 +#define GL_PER_STAGE_CONSTANTS_NV 0x8535 +#endif + #ifndef GL_NV_fog_distance #define GL_FOG_DISTANCE_MODE_NV 0x855A #define GL_EYE_RADIAL_NV 0x855B @@ -2854,6 +2858,16 @@ typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum va typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); #endif +#ifndef GL_NV_register_combiners2 +#define GL_NV_register_combiners2 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); +#endif + #ifndef GL_NV_fog_distance #define GL_NV_fog_distance 1 #endif -- cgit v1.2.3