diff options
author | Brian Paul <[email protected]> | 2003-05-30 22:31:41 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-05-30 22:31:41 +0000 |
commit | 236d2dbc7289cd9106729e619714a509bc402fd7 (patch) | |
tree | 4ff853e2ac4411136e23e4cf2ff6d39dbeabf49a /src/mesa/main | |
parent | 80f669b9b0874d7a11fd843be9c986c08eae288e (diff) |
minor error check tweaks for NV_light_max_exponent
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/get.c | 12 |
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; |