[gtk/wip/chergert/glproto] start with scissor disabled



commit ee6ca8e0cdf7111f149144b7d8095b02772b09a3
Author: Christian Hergert <chergert redhat com>
Date:   Mon Dec 28 15:44:58 2020 -0800

    start with scissor disabled

 gsk/next/gskglcommandqueue.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index a2bcd2ca0b..4d9ffc4c5d 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -944,6 +944,9 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self)
   /* Start with default framebuffer */
   glBindFramebuffer (GL_FRAMEBUFFER, 0);
 
+  /* Start without a scissor clip */
+  glDisable (GL_SCISSOR_TEST);
+
   next_batch_index = 0;
 
   while (next_batch_index >= 0)


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