Mesa (master): Disable scissor when begining meta operations

Eric Anholt anholt at kemper.freedesktop.org
Wed Apr 28 00:14:39 UTC 2010


Module: Mesa
Branch: master
Commit: 2787a2e731d7628e150d607939509a05500fd29f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2787a2e731d7628e150d607939509a05500fd29f

Author: Pierre Willenbrock <pierre at pirsoft.de>
Date:   Tue Apr 27 23:16:49 2010 +0200

Disable scissor when begining meta operations

Signed-off-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/common/meta.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 97d91ac..ea9e417 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -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) {




More information about the mesa-commit mailing list