From: Christoph Bumiller Date: Sat, 27 Aug 2011 15:28:01 +0000 (+0200) Subject: mesa: update multisample state on _NEW_BUFFERS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb92fc25b00beda4df48865670c8769c7a669aac;p=mesa.git mesa: update multisample state on _NEW_BUFFERS A change in sampleBuffers affects the final enable value. --- diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 7ad50bcaddc..457a730deea 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -631,7 +631,7 @@ _mesa_update_state_locked( struct gl_context *ctx ) if (new_state & (_NEW_BUFFERS | _NEW_VIEWPORT)) update_viewport_matrix(ctx); - if (new_state & _NEW_MULTISAMPLE) + if (new_state & (_NEW_MULTISAMPLE | _NEW_BUFFERS)) update_multisample( ctx ); if (new_state & _NEW_COLOR)