Disable scissor when begining meta operations
authorPierre Willenbrock <pierre@pirsoft.de>
Tue, 27 Apr 2010 21:16:49 +0000 (23:16 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 28 Apr 2010 00:12:39 +0000 (17:12 -0700)
Signed-off-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c

index 97d91ac381ddbf93238782a65c6a813dcf17fc5e..ea9e4173916d2ab31ef53066e4919b789ad5451a 100644 (file)
@@ -424,6 +424,7 @@ _mesa_meta_begin(GLcontext *ctx, GLbitfield state)
 
    if (state & META_SCISSOR) {
       save->Scissor = ctx->Scissor; /* struct copy */
+      _mesa_set_enable(ctx, GL_SCISSOR_TEST, GL_FALSE);
    }
 
    if (state & META_SHADER) {