Commit 97bc3d7e authored by Brian Paul's avatar Brian Paul
Browse files

GL_FOG_COORDINATE_SOURCE_EXT query was missing

parent 525f0438
/* $Id: get.c,v 1.107 2003/04/01 18:16:33 brianp Exp $ */
/* $Id: get.c,v 1.108 2003/04/01 18:22:23 brianp Exp $ */
/*
* Mesa 3-D graphics library
......@@ -1286,6 +1286,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:
......@@ -2690,6 +2694,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:
......@@ -4068,6 +4076,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:
......@@ -5484,6 +5496,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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment