summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:22:06 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:22:06 +0000
commit11da685867077f3bce115a5c49b3497c73225dd1 (patch)
tree07c72e51ef60955ea2c6b8b17a769729023b63cb
parent81162b98d0eb1b77c9c3e0353e0e60a181bef145 (diff)
GL_FOG_COORDINATE_SOURCE_EXT query was missing
-rw-r--r--src/mesa/main/get.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 9a9840abdb..9dfbffe542 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1279,6 +1279,10 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params )
CHECK_EXTENSION_B(EXT_fog_coord, pname);
*params = INT_TO_BOOL(ctx->Array.FogCoord.Stride);
break;
+ case GL_FOG_COORDINATE_SOURCE_EXT:
+ CHECK_EXTENSION_B(EXT_fog_coord, pname);
+ *params = ENUM_TO_BOOL(ctx->Fog.FogCoordinateSource);
+ break;
/* GL_EXT_texture_lod_bias */
case GL_MAX_TEXTURE_LOD_BIAS_EXT:
@@ -2650,6 +2654,10 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params )
CHECK_EXTENSION_D(EXT_fog_coord, pname);
*params = (GLdouble) ctx->Array.FogCoord.Stride;
break;
+ case GL_FOG_COORDINATE_SOURCE_EXT:
+ CHECK_EXTENSION_D(EXT_fog_coord, pname);
+ *params = (GLdouble) ctx->Fog.FogCoordinateSource;
+ break;
/* GL_EXT_texture_lod_bias */
case GL_MAX_TEXTURE_LOD_BIAS_EXT:
@@ -3997,6 +4005,10 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
CHECK_EXTENSION_F(EXT_fog_coord, pname);
*params = (GLfloat) ctx->Array.FogCoord.Stride;
break;
+ case GL_FOG_COORDINATE_SOURCE_EXT:
+ CHECK_EXTENSION_F(EXT_fog_coord, pname);
+ *params = (GLfloat) ctx->Fog.FogCoordinateSource;
+ break;
/* GL_EXT_texture_lod_bias */
case GL_MAX_TEXTURE_LOD_BIAS_EXT:
@@ -5383,6 +5395,10 @@ _mesa_GetIntegerv( GLenum pname, GLint *params )
CHECK_EXTENSION_I(EXT_fog_coord, pname);
*params = (GLint) ctx->Array.FogCoord.Stride;
break;
+ case GL_FOG_COORDINATE_SOURCE_EXT:
+ CHECK_EXTENSION_I(EXT_fog_coord, pname);
+ *params = (GLint) ctx->Fog.FogCoordinateSource;
+ break;
/* GL_EXT_texture_lod_bias */
case GL_MAX_TEXTURE_LOD_BIAS_EXT: