summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-02 23:56:08 +0000
committerBrian Paul <[email protected]>2006-11-02 23:56:08 +0000
commit7a28779b2e85bc346f0f3f4cda0d4f4e77d3719f (patch)
treec54fb5f3bfdcd2f4c8b129a97bce39be822c0196 /src
parentfc69beecb680daa8cbc9cac173bd8c5650270f52 (diff)
minor change in _mesa_ResizeBuffersMESA()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/buffers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index ece53463b33..0e3ed155841 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -648,7 +648,8 @@ _mesa_ResizeBuffersMESA( void )
{
GET_CURRENT_CONTEXT(ctx);
- _mesa_resizebuffers( ctx );
+ if (ctx->Extensions.MESA_resize_buffers)
+ _mesa_resizebuffers( ctx );
}