diff --git a/clutter/clutter/clutter-paint-nodes.c b/clutter/clutter/clutter-paint-nodes.c index f95580f33..7e47e7416 100644 --- a/clutter/clutter/clutter-paint-nodes.c +++ b/clutter/clutter/clutter-paint-nodes.c @@ -841,11 +841,11 @@ clutter_text_node_draw (ClutterPaintNode *node, clipped = TRUE; } - cogl_pango_render_layout (tnode->layout, - op->op.texrect[0], - op->op.texrect[1], - &tnode->color, - 0); + cogl_pango_show_layout (fb, + tnode->layout, + op->op.texrect[0], + op->op.texrect[1], + &tnode->color); if (clipped) cogl_framebuffer_pop_clip (fb);