-/* $Id: get.c,v 1.45 2000/12/08 00:20:15 brianp Exp $ */
+/* $Id: get.c,v 1.46 2000/12/09 19:55:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
case GL_RENDER_MODE:
*params = ENUM_TO_BOOL(ctx->RenderMode);
break;
+ case GL_RESCALE_NORMAL:
+ *params = ctx->Transform.RescaleNormals;
+ break;
case GL_RGBA_MODE:
*params = ctx->Visual.RGBAflag;
break;
case GL_RENDER_MODE:
*params = ENUM_TO_DOUBLE(ctx->RenderMode);
break;
+ case GL_RESCALE_NORMAL:
+ *params = (GLdouble) ctx->Transform.RescaleNormals;
+ break;
case GL_RGBA_MODE:
*params = (GLdouble) ctx->Visual.RGBAflag;
break;
case GL_RENDER_MODE:
*params = ENUM_TO_FLOAT(ctx->RenderMode);
break;
+ case GL_RESCALE_NORMAL:
+ *params = (GLfloat) ctx->Transform.RescaleNormals;
+ break;
case GL_RGBA_MODE:
*params = (GLfloat) ctx->Visual.RGBAflag;
break;
case GL_RENDER_MODE:
*params = (GLint) ctx->RenderMode;
break;
+ case GL_RESCALE_NORMAL:
+ *params = (GLint) ctx->Transform.RescaleNormals;
+ break;
case GL_RGBA_MODE:
*params = (GLint) ctx->Visual.RGBAflag;
break;