diff options
Diffstat (limited to 'src/mesa/main/multisample.c')
-rw-r--r-- | src/mesa/main/multisample.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c index f0e7a611805..16fe2b7ced6 100644 --- a/src/mesa/main/multisample.c +++ b/src/mesa/main/multisample.c @@ -119,6 +119,9 @@ _mesa_SampleMaski(GLuint index, GLbitfield mask) return; } + if (ctx->Multisample.SampleMaskValue == mask) + return; + FLUSH_VERTICES(ctx, _NEW_MULTISAMPLE); ctx->Multisample.SampleMaskValue = mask; } |