minor change in _mesa_ResizeBuffersMESA()
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:56:08 +0000 (23:56 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:56:08 +0000 (23:56 +0000)
src/mesa/main/buffers.c

index ece53463b332d4e19f62878360a0332d34daf8df..0e3ed155841ecb68e1091fb7b54e9d5504e51186 100644 (file)
@@ -648,7 +648,8 @@ _mesa_ResizeBuffersMESA( void )
 {
    GET_CURRENT_CONTEXT(ctx);
 
-   _mesa_resizebuffers( ctx );
+   if (ctx->Extensions.MESA_resize_buffers)
+      _mesa_resizebuffers( ctx );
 }