Commit b1278c36 authored by Benjamin Otte's avatar Benjamin Otte

gsk: Don't overdraw with transparent

That code doesn't do anything.

And what the code should be doing (clearing the abckground) isn't
necessary as cairo drawing is guaranteed to clear the surface.
parent 04f9fb51
...@@ -65,12 +65,6 @@ gsk_cairo_renderer_render (GskRenderer *renderer, ...@@ -65,12 +65,6 @@ gsk_cairo_renderer_render (GskRenderer *renderer,
gsk_renderer_get_viewport (renderer, &self->viewport); gsk_renderer_get_viewport (renderer, &self->viewport);
cairo_save (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
cairo_set_source_rgba (cr, 0, 0, 0, 0);
cairo_paint (cr);
cairo_restore (cr);
if (GSK_RENDER_MODE_CHECK (GEOMETRY)) if (GSK_RENDER_MODE_CHECK (GEOMETRY))
{ {
cairo_save (cr); cairo_save (cr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment