From fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 30 Nov 2007 13:01:57 -0700 Subject: fix broken two-sided stencil --- src/mesa/main/context.c | 1 - src/mesa/main/mtypes.h | 6 ------ 2 files changed, 7 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 08db12b1b6..2ae0e1221d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -992,7 +992,6 @@ init_attrib_groups(GLcontext *ctx) /* Miscellaneous */ ctx->NewState = _NEW_ALL; ctx->ErrorValue = (GLenum) GL_NO_ERROR; - ctx->_Facing = 0; return GL_TRUE; } diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 1fbfeb7447..94b7094388 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3059,12 +3059,6 @@ struct __GLcontextRec struct gl_list_extensions ListExt; /**< driver dlist extensions */ - - GLuint _Facing; /**< This is a hack for 2-sided stencil test. - * - * We don't have a better way to communicate this value from - * swrast_setup to swrast. */ - /** \name For debugging/development only */ /*@{*/ GLboolean FirstTimeCurrent; -- cgit v1.2.3