mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
clutter/paint-nodes: Stop using deprecated cogl_pango API
As with ClutterText, use the one where you pass the framebuffer explicitly. https://gitlab.gnome.org/GNOME/mutter/merge_requests/935
This commit is contained in:
parent
339372ac99
commit
53431fce2a
@ -841,11 +841,11 @@ clutter_text_node_draw (ClutterPaintNode *node,
|
|||||||
clipped = TRUE;
|
clipped = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
cogl_pango_render_layout (tnode->layout,
|
cogl_pango_show_layout (fb,
|
||||||
|
tnode->layout,
|
||||||
op->op.texrect[0],
|
op->op.texrect[0],
|
||||||
op->op.texrect[1],
|
op->op.texrect[1],
|
||||||
&tnode->color,
|
&tnode->color);
|
||||||
0);
|
|
||||||
|
|
||||||
if (clipped)
|
if (clipped)
|
||||||
cogl_framebuffer_pop_clip (fb);
|
cogl_framebuffer_pop_clip (fb);
|
||||||
|
Loading…
Reference in New Issue
Block a user