[Mesa-dev] [PATCH 4/4] Disable scissor when begining meta operations

Pierre Willenbrock pierre at pirsoft.de
Tue Apr 27 14:16:49 PDT 2010


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



More information about the mesa-dev mailing list