summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_drawpix.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-07-01 01:22:25 +0000
committerBrian Paul <[email protected]>2005-07-01 01:22:25 +0000
commitbb5c84fcbc22b4fef28cf4589d6410eb3c35a496 (patch)
treeb193c36240300d9d417c0af1c14939c24baed194 /src/mesa/swrast/s_drawpix.c
parent446e25894099ed8e1c7034d812ca4baf30a84a56 (diff)
Remove NEW_RENDERBUFFER stuff.
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r--src/mesa/swrast/s_drawpix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index 9d231472c21..709f9a13c71 100644
--- a/src/mesa/swrast/s_drawpix.c
+++ b/src/mesa/swrast/s_drawpix.c
@@ -51,9 +51,7 @@ fast_draw_pixels(GLcontext *ctx, GLint x, GLint y,
const struct gl_pixelstore_attrib *unpack,
const GLvoid *pixels)
{
-#if NEW_RENDERBUFFER
struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0][0];
-#endif
SWcontext *swrast = SWRAST_CONTEXT(ctx);
struct sw_span span;