summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-08-27 17:28:01 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-08-30 13:55:07 +0200
commitfb92fc25b00beda4df48865670c8769c7a669aac (patch)
treeb8ccaa9143d66e46bef3a6e4f211cbbd153b9d71
parent0b263aeb8b82d5be1ba9210e06f7eaa7d1cf63bf (diff)
mesa: update multisample state on _NEW_BUFFERS
A change in sampleBuffers affects the final enable value.
-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 7ad50bcadd..457a730dee 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)