diff options
author | Keith Whitwell <[email protected]> | 2007-08-02 13:59:31 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-02 13:59:31 +0100 |
commit | 4f442d9ef5db42867c99a7288b4114a0340f73e6 (patch) | |
tree | 10f6dbab05ad7ed5d88b565273263f8f74e23354 /src/mesa/main/buffers.c | |
parent | 1ecc648398a51f734ef1e3b729595f41cedf29f9 (diff) |
Reroute some clear functionality.
Still require the intelClear() call to flush batchbuffers. That will be
removed later...
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r-- | src/mesa/main/buffers.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index bb019b5998a..eea443c03cc 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 } } |