From 236d2dbc7289cd9106729e619714a509bc402fd7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 30 May 2003 22:31:41 +0000 Subject: minor error check tweaks for NV_light_max_exponent --- src/mesa/main/get.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mesa') 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; -- cgit v1.2.3