Commit fbc236b4 authored by Keith Whitwell's avatar Keith Whitwell
Browse files

add GL_UNPACK_CLIENT_STORAGE_APPLE gets

parent 23cdcede
/* $Id: get.c,v 1.93 2002/10/04 19:10:08 brianp Exp $ */
/* $Id: get.c,v 1.94 2002/10/10 18:03:44 keithw Exp $ */
/*
* Mesa 3-D graphics library
......@@ -908,6 +908,9 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params )
case GL_UNPACK_IMAGE_HEIGHT_EXT:
*params = ctx->Unpack.ImageHeight;
break;
case GL_UNPACK_CLIENT_STORAGE_APPLE:
*params = ctx->Unpack.ClientStorage;
break;
case GL_VIEWPORT:
params[0] = INT_TO_BOOL(ctx->Viewport.X);
params[1] = INT_TO_BOOL(ctx->Viewport.Y);
......@@ -2269,6 +2272,9 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params )
case GL_UNPACK_IMAGE_HEIGHT_EXT:
*params = (GLdouble) ctx->Unpack.ImageHeight;
break;
case GL_UNPACK_CLIENT_STORAGE_APPLE:
*params = (GLdouble) ctx->Unpack.ClientStorage;
break;
case GL_VIEWPORT:
params[0] = (GLdouble) ctx->Viewport.X;
params[1] = (GLdouble) ctx->Viewport.Y;
......@@ -3632,6 +3638,9 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )
case GL_UNPACK_IMAGE_HEIGHT_EXT:
*params = (GLfloat) ctx->Unpack.ImageHeight;
break;
case GL_UNPACK_CLIENT_STORAGE_APPLE:
*params = (GLfloat) ctx->Unpack.ClientStorage;
break;
case GL_VIEWPORT:
params[0] = (GLfloat) ctx->Viewport.X;
params[1] = (GLfloat) ctx->Viewport.Y;
......@@ -4968,6 +4977,9 @@ _mesa_GetIntegerv( GLenum pname, GLint *params )
case GL_UNPACK_IMAGE_HEIGHT_EXT:
*params = ctx->Unpack.ImageHeight;
break;
case GL_UNPACK_CLIENT_STORAGE_APPLE:
*params = ctx->Unpack.ClientStorage;
break;
case GL_VIEWPORT:
params[0] = (GLint) ctx->Viewport.X;
params[1] = (GLint) ctx->Viewport.Y;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment