summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
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/drivers
parent7d3b26022b75608e2c9d83c14157b89ef39cbd43 (diff)
fix GLX server resize/crash when resizing windows
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 0bafad8e129..d0016b86927 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1108,7 +1108,6 @@ update_framebuffer_size(GLcontext *ctx)
get_buffer_size(fb, &newWidth, &newHeight);
if (newWidth != fb->Width || newHeight != fb->Height) {
xmesa_resize_buffers(ctx, fb, newWidth, newHeight);
- ctx->NewState |= _NEW_BUFFERS; /* to update scissor / window bounds */
}
if (ctx->WinSysReadBuffer != ctx->WinSysDrawBuffer) {