1
0
Fork 0

clutter/pipeline-paint-node: Use draw framebuffer when drawing primitives

As with all the other draw operations, use the current draw framebuffer
to draw the primitives.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
This commit is contained in:
Jonas Ådahl 2019-11-22 19:04:15 +01:00 committed by Georges Basile Stavracas Neto
parent 61026d181b
commit 48e6fccc95

View file

@ -427,7 +427,7 @@ clutter_pipeline_node_draw (ClutterPaintNode *node,
if (node->operations == NULL)
return;
fb = clutter_paint_node_get_framebuffer (node);
fb = cogl_get_draw_framebuffer ();
for (i = 0; i < node->operations->len; i++)
{