summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-10-21 21:39:10 +0000
committerBrian Paul <[email protected]>2005-10-21 21:39:10 +0000
commit52f686c48080cec9a26aa23d16bc14bd3d302d70 (patch)
tree910303a6eb32c78ef9d9cffc4c8d51f3996356da /src/mesa/main/framebuffer.c
parent7d3b26022b75608e2c9d83c14157b89ef39cbd43 (diff)
fix GLX server resize/crash when resizing windows
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 479f7625684..f2993b112bf 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -224,6 +224,9 @@ _mesa_resize_framebuffer(GLcontext *ctx, struct gl_framebuffer *fb,
fb->Width = width;
fb->Height = height;
+
+ /* to update scissor / window bounds */
+ ctx->NewState |= _NEW_BUFFERS;
}