diff --git a/gsk/gpu/gskgpunodeprocessor.c b/gsk/gpu/gskgpunodeprocessor.c index 1f22105ae0..6c04a84db5 100644 --- a/gsk/gpu/gskgpunodeprocessor.c +++ b/gsk/gpu/gskgpunodeprocessor.c @@ -184,13 +184,13 @@ gsk_gpu_node_processor_init (GskGpuNodeProcessor *self, { float scale_x = viewport->size.width / width; float scale_y = viewport->size.height / height; - gsk_gpu_clip_init_rect (&self->clip, - &GRAPHENE_RECT_INIT ( - scale_x * clip->x, - scale_y * clip->y, - scale_x * clip->width, - scale_y * clip->height - )); + gsk_gpu_clip_init_empty (&self->clip, + &GRAPHENE_RECT_INIT ( + scale_x * clip->x, + scale_y * clip->y, + scale_x * clip->width, + scale_y * clip->height + )); } self->modelview = NULL;