diff options
author | Brian Paul <[email protected]> | 2002-09-21 17:34:56 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-09-21 17:34:56 +0000 |
commit | 551b65f13754e6760e5c272ff86f8873c9c13e5c (patch) | |
tree | 475b56da7ede2b0da6829a44650ec1e75c3f43ad /src/mesa/main/get.c | |
parent | c5b995066020191982b2315fc45d05e068eee761 (diff) |
GL_MESA_pack_invert
Diffstat (limited to 'src/mesa/main/get.c')
-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 115a4be85f8..4ccec6b9d81 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $Id: get.c,v 1.90 2002/09/06 13:00:50 brianp Exp $ */ +/* $Id: get.c,v 1.91 2002/09/21 17:34:56 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -659,6 +659,9 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) case GL_PACK_IMAGE_HEIGHT_EXT: *params = ctx->Pack.ImageHeight; break; + case GL_PACK_INVERT_MESA: + *params = ctx->Pack.Invert; + break; case GL_PERSPECTIVE_CORRECTION_HINT: *params = ENUM_TO_BOOL(ctx->Hint.PerspectiveCorrection); break; @@ -2018,6 +2021,9 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) case GL_PACK_IMAGE_HEIGHT_EXT: *params = (GLdouble) ctx->Pack.ImageHeight; break; + case GL_PACK_INVERT_MESA: + *params = (GLdouble) ctx->Pack.Invert; + break; case GL_PERSPECTIVE_CORRECTION_HINT: *params = ENUM_TO_DOUBLE(ctx->Hint.PerspectiveCorrection); break; @@ -3374,6 +3380,9 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) case GL_PACK_IMAGE_HEIGHT_EXT: *params = (GLfloat) ctx->Pack.ImageHeight; break; + case GL_PACK_INVERT_MESA: + *params = (GLfloat) ctx->Pack.Invert; + break; case GL_PERSPECTIVE_CORRECTION_HINT: *params = ENUM_TO_FLOAT(ctx->Hint.PerspectiveCorrection); break; @@ -4707,6 +4716,9 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) case GL_PACK_IMAGE_HEIGHT_EXT: *params = ctx->Pack.ImageHeight; break; + case GL_PACK_INVERT_MESA: + *params = ctx->Pack.Invert; + break; case GL_PERSPECTIVE_CORRECTION_HINT: *params = (GLint) ctx->Hint.PerspectiveCorrection; break; |