gsk: Quiet a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Jan 2023 02:13:10 +0000 (21:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Jan 2023 02:13:10 +0000 (21:13 -0500)
gsk/gl/gskglcommandqueue.c

index 4d7ef4b3d3cb0fd19b5b7a74ceed02216bf788c3..640b87bf121fb7a4f375f4da026ffb999db72574 100644 (file)
@@ -956,7 +956,7 @@ gsk_gl_command_queue_execute (GskGLCommandQueue    *self,
                               guint                 default_framebuffer)
 {
   G_GNUC_UNUSED guint count = 0;
-  graphene_rect_t scissor_test;
+  graphene_rect_t scissor_test = { 0, };
   gboolean has_scissor = scissor != NULL;
   gboolean scissor_state = -1;
   guint program = 0;