From: Keith Whitwell Date: Thu, 10 Oct 2002 18:03:44 +0000 (+0000) Subject: add GL_UNPACK_CLIENT_STORAGE_APPLE gets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbc236b401c6c0ddff2d5e9f82511a264045e71d;p=mesa.git add GL_UNPACK_CLIENT_STORAGE_APPLE gets --- 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;