summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.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/state.c
parent7d3b26022b75608e2c9d83c14157b89ef39cbd43 (diff)
fix GLX server resize/crash when resizing windows
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 244cb485c6c..6ade223fec4 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -984,7 +984,7 @@ _mesa_update_state( GLcontext *ctx )
if (new_state & (_NEW_BUFFERS | _NEW_COLOR | _NEW_PIXEL))
_mesa_update_framebuffer(ctx);
- if (new_state & (_NEW_SCISSOR|_NEW_BUFFERS))
+ if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT))
_mesa_update_draw_buffer_bounds( ctx );
if (new_state & _NEW_POINT)