diff options
-rw-r--r-- | src/mesa/main/get.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index a952a824b0..7864d69b4b 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $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; |