summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-10-10 18:03:44 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-10-10 18:03:44 +0000
commitfbc236b401c6c0ddff2d5e9f82511a264045e71d (patch)
tree5e3a32e69a629dc3325852338fa5956e79d364db /src
parent23cdcede5d225f90928ae072edf42e2fe1b12ccc (diff)
add GL_UNPACK_CLIENT_STORAGE_APPLE gets
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/get.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index a952a824b01..7864d69b4bd 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;