diff options
-rw-r--r-- | src/mesa/swrast/s_context.c | 5 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 93f0c759699..0808876dab9 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -599,11 +599,6 @@ _swrast_CreateContext( GLcontext *ctx ) swrast->AllowVertexFog = GL_TRUE; swrast->AllowPixelFog = GL_TRUE; - if (ctx->Visual.doubleBufferMode) - swrast->CurrentBufferBit = BUFFER_BIT_BACK_LEFT; - else - swrast->CurrentBufferBit = BUFFER_FRONT_LEFT; - /* Optimized Accum buffer */ swrast->_IntegerAccumMode = GL_FALSE; swrast->_IntegerAccumScaler = 0.0; diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 4f0e225b590..10b1d360719 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -299,7 +299,6 @@ typedef struct GLuint NewState; GLuint StateChanges; GLenum Primitive; /* current primitive being drawn (ala glBegin) */ - GLbitfield CurrentBufferBit; /* exactly one the of DD_*_BIT buffer bits */ /** Mechanism to allow driver (like X11) to register further * software rasterization routines. |