From 118a8bad73bda88fc54f802b2beeb687c8ddb45a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 27 Nov 2004 22:44:35 +0000 Subject: new comments and assertions --- src/mesa/swrast/s_accum.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/swrast/s_accum.c') diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c index d20622e671..55ba831059 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; -- cgit v1.2.3