summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-05 21:04:22 +0000
committerBrian Paul <[email protected]>2005-09-05 21:04:22 +0000
commite3c8a0c16d5a2ffdb9d107dbb980427979a541f7 (patch)
tree0fa685015b9849b0cbf2e6b5e3dbda8926ee780a /src
parent3952d6d4bbb1f69a45f14a43b6b5f8e6a90a0e6f (diff)
remove obsolete CurrentBufferBit
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_context.c5
-rw-r--r--src/mesa/swrast/s_context.h1
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.