From e3c8a0c16d5a2ffdb9d107dbb980427979a541f7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 5 Sep 2005 21:04:22 +0000 Subject: remove obsolete CurrentBufferBit --- src/mesa/swrast/s_context.c | 5 ----- src/mesa/swrast/s_context.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 93f0c75969..0808876dab 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 4f0e225b59..10b1d36071 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. -- cgit v1.2.3