summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 09895f8090e..d0814b188b2 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -3028,11 +3028,11 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_D(NV_light_max_exponent, pname);
*params = (GLdouble) ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_D(NV_light_max_exponent, pname);
*params = (GLdouble) ctx->Const.MaxSpotExponent;
break;
@@ -4512,11 +4512,11 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_F(NV_light_max_exponent, pname);
*params = ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_F(NV_light_max_exponent, pname);
*params = ctx->Const.MaxSpotExponent;
break;
@@ -6034,11 +6034,11 @@ _mesa_GetIntegerv( GLenum pname, GLint *params )
/* GL_NV_light_max_exponent */
case GL_MAX_SHININESS_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_I(NV_light_max_exponent, pname);
*params = (GLint) ctx->Const.MaxShininess;
break;
case GL_MAX_SPOT_EXPONENT_NV:
- CHECK_EXTENSION_B(NV_light_max_exponent, pname);
+ CHECK_EXTENSION_I(NV_light_max_exponent, pname);
*params = (GLint) ctx->Const.MaxSpotExponent;
break;