fix GLX server resize/crash when resizing windows
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user