[gtk/wip/chergert/glproto: 406/493] make state value false when disabling scissor




commit 77fe0ffec1029591af84e1d20d9394d0e790e115
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 8 10:59:16 2021 -0800

    make state value false when disabling scissor

 gsk/next/gskglcommandqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 5dc9159c3f..3cb6a56c2c 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -744,7 +744,7 @@ apply_scissor (gboolean              *state,
       if (*state == TRUE)
         {
           glDisable (GL_SCISSOR_TEST);
-          *state = TRUE;
+          *state = FALSE;
         }
     }
   else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]