gl renderer: Fix scaled fallback node drawing

This commit is contained in:
Timm Bäder 2019-10-06 17:45:54 +02:00
parent e5de03144f
commit e838ea3bc8

View File

@ -514,7 +514,7 @@ render_fallback_node (GskGLRenderer *self,
cairo_scale (cr, 1, -1);
cairo_translate (cr, 0, -surface_height / scale);
cairo_set_source_surface (cr, rendered_surface, 0, 0);
cairo_rectangle (cr, 0, 0, surface_width, surface_height);
cairo_rectangle (cr, 0, 0, surface_width / scale, surface_height / scale);
cairo_fill (cr);
cairo_restore (cr);