diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c index 5c1b703fef..5ff04acc2b 100644 --- a/gsk/gl/gskglcommandqueue.c +++ b/gsk/gl/gskglcommandqueue.c @@ -1104,7 +1104,7 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self, (void *) G_STRUCT_OFFSET (GskGLDrawVertex, color2)); /* Setup initial scissor clip */ - if (scissor != NULL) + if (scissor != NULL && cairo_region_num_rectangles (scissor) > 0) { cairo_rectangle_int_t r;