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



commit 48e6fccc956deab5d8dbb52eba52f8c2e2c64349
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Nov 22 19:04:15 2019 +0100

    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

 clutter/clutter/clutter-paint-nodes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-paint-nodes.c b/clutter/clutter/clutter-paint-nodes.c
index 51ebf0739..964ef3ea6 100644
--- a/clutter/clutter/clutter-paint-nodes.c
+++ b/clutter/clutter/clutter-paint-nodes.c
@@ -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++)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]