mesa: Disable scissor when begining meta operations
authorPierre Willenbrock <pierre@pirsoft.de>
Tue, 27 Apr 2010 21:16:49 +0000 (14:16 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Apr 2010 21:58:58 +0000 (15:58 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.c

index d0b5cb55cd2202c3cbf409ba7709993209924456..3d2183c61851a44c0214805f80051e5c31e9e224 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) {