summaryrefslogtreecommitdiff
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r--src/mesa/main/buffers.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index bb019b5998..eea443c03c 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -178,15 +178,7 @@ _mesa_Clear( GLbitfield mask )
}
ASSERT(ctx->Driver.Clear);
-#if 0
ctx->Driver.Clear(ctx, bufferMask);
-#else
- st_clear(ctx->st,
- (mask & GL_COLOR_BUFFER_BIT) ? GL_TRUE : GL_FALSE,
- (bufferMask & BUFFER_BIT_DEPTH) ? GL_TRUE : GL_FALSE,
- (bufferMask & BUFFER_BIT_STENCIL) ? GL_TRUE : GL_FALSE,
- (bufferMask & BUFFER_BIT_ACCUM) ? GL_TRUE : GL_FALSE);
-#endif
}
}