From: Brian Paul Date: Mon, 5 Sep 2005 21:04:22 +0000 (+0000) Subject: remove obsolete CurrentBufferBit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3c8a0c16d5a2ffdb9d107dbb980427979a541f7;p=mesa.git remove obsolete CurrentBufferBit --- 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.