remove obsolete CurrentBufferBit
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 5 Sep 2005 21:04:22 +0000 (21:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 5 Sep 2005 21:04:22 +0000 (21:04 +0000)
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h

index 93f0c7596994adc150a1b92a1ab38f9c73714160..0808876dab953dc562efcccbc87501b378cb2a2d 100644 (file)
@@ -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;
index 4f0e225b590e2774d30d203e2fcd42a112df81d7..10b1d360719fedca6bfd5390350909b2d05960ba 100644 (file)
@@ -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.