gsk: Fix a compiler warning

This commit is contained in:
Matthias Clasen 2023-02-02 17:10:09 +01:00
parent 8911ed5d9b
commit 1da4782262

View 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 = { 0, };
graphene_rect_t scissor_test = GRAPHENE_RECT_INIT (0, 0, 0, 0);
gboolean has_scissor = scissor != NULL;
gboolean scissor_state = -1;
guint program = 0;