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

Author: Pierre Willenbrock <[email protected]>
Date:   Tue Apr 27 23:16:49 2010 +0200

Disable scissor when begining meta operations

Signed-off-by: Eric Anholt <[email protected]>

---

 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) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to