From 52f686c48080cec9a26aa23d16bc14bd3d302d70 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 21 Oct 2005 21:39:10 +0000 Subject: fix GLX server resize/crash when resizing windows --- src/mesa/main/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/state.c') diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 244cb485c6..6ade223fec 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) -- cgit v1.2.3