From 2c9e7ae38baacc6d5167bca53b4ae1ac23a766d0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 8 Nov 2002 15:39:58 +0000 Subject: [PATCH] fixed active stencil face query bug --- src/mesa/main/get.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 7513ffa16a6..1fc4d85cf47 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $Id: get.c,v 1.98 2002/10/29 22:32:50 brianp Exp $ */ +/* $Id: get.c,v 1.99 2002/11/08 15:39:58 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1470,7 +1470,7 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) break; case GL_ACTIVE_STENCIL_FACE_EXT: CHECK_EXTENSION_B(EXT_stencil_two_side, pname); - *params = ENUM_TO_BOOL(ctx->Stencil.ActiveFace ? GL_FRONT : GL_BACK); + *params = ENUM_TO_BOOL(ctx->Stencil.ActiveFace ? GL_BACK : GL_FRONT); break; default: @@ -2835,7 +2835,7 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) break; case GL_ACTIVE_STENCIL_FACE_EXT: CHECK_EXTENSION_D(EXT_stencil_two_side, pname); - *params = (GLdouble) (ctx->Stencil.ActiveFace ? GL_FRONT : GL_BACK); + *params = (GLdouble) (ctx->Stencil.ActiveFace ? GL_BACK : GL_FRONT); break; default: @@ -4176,7 +4176,7 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) break; case GL_ACTIVE_STENCIL_FACE_EXT: CHECK_EXTENSION_F(EXT_stencil_two_side, pname); - *params = (GLfloat) (ctx->Stencil.ActiveFace ? GL_FRONT : GL_BACK); + *params = (GLfloat) (ctx->Stencil.ActiveFace ? GL_BACK : GL_FRONT); break; default: @@ -5556,7 +5556,7 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) break; case GL_ACTIVE_STENCIL_FACE_EXT: CHECK_EXTENSION_I(EXT_stencil_two_side, pname); - *params = (GLint) (ctx->Stencil.ActiveFace ? GL_FRONT : GL_BACK); + *params = (GLint) (ctx->Stencil.ActiveFace ? GL_BACK : GL_FRONT); break; default: -- 2.30.2