summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2003-06-02 20:37:16 +0000
committerIan Romanick <[email protected]>2003-06-02 20:37:16 +0000
commit09dbc1e5aea9d584d7d031bcf0c945aa16cef2a1 (patch)
treefc98be62e3c879ca650a133eb770d0635bdfddfd /src/mesa/main/get.c
parenta189e4c1e13f0c1fbbbe4b2346fa96cce9a4853e (diff)
Removed fields from 'struct gl_extensions' for extensions that don't
need them. Added "always on" extensions for extensions that are part of core versions 1.1 and 1.2.
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index d0814b188b2..88a1d947f31 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1520,11 +1520,9 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
*params = FLOAT_TO_BOOL(ctx->Const.MaxShininess);
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
*params = FLOAT_TO_BOOL(ctx->Const.MaxSpotExponent);
break;
@@ -3028,11 +3026,9 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_D(NV_light_max_exponent, pname);
*params = (GLdouble) ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_D(NV_light_max_exponent, pname);
*params = (GLdouble) ctx->Const.MaxSpotExponent;
break;
@@ -4512,11 +4508,9 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_F(NV_light_max_exponent, pname);
*params = ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_F(NV_light_max_exponent, pname);
*params = ctx->Const.MaxSpotExponent;
break;
@@ -6034,11 +6028,9 @@ _mesa_GetIntegerv( GLenum pname, GLint *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_I(NV_light_max_exponent, pname);
*params = (GLint) ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_I(NV_light_max_exponent, pname);
*params = (GLint) ctx->Const.MaxSpotExponent;
break;