diff options
author | Brian Paul <[email protected]> | 2004-11-27 22:44:35 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-11-27 22:44:35 +0000 |
commit | 118a8bad73bda88fc54f802b2beeb687c8ddb45a (patch) | |
tree | 7878fb4d61acdd86618d39d2e0cdb03cb51a5534 /src/mesa/swrast/s_accum.c | |
parent | 29926a11b16ec7a235947d95e9a46777605dd30e (diff) |
new comments and assertions
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r-- | src/mesa/swrast/s_accum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c index d20622e671a..55ba8310590 100644 --- a/src/mesa/swrast/s_accum.c +++ b/src/mesa/swrast/s_accum.c @@ -70,6 +70,8 @@ _swrast_alloc_accum_buffer( GLframebuffer *buffer ) GET_CURRENT_CONTEXT(ctx); GLint n; + ASSERT(buffer->UseSoftwareAccumBuffer); + if (buffer->Accum) { MESA_PBUFFER_FREE( buffer->Accum ); buffer->Accum = NULL; |