theme-node: Pass an explicit framebuffer to paint()

This allows us to paint to an offscreen buffer without using the
deprecated cogl_push_framebuffer/cogl_pop_framebuffer functions.
This commit is contained in:
Florian Müllner
2015-09-26 05:44:56 +02:00
parent 113a854048
commit 48a54e8ac4
4 changed files with 20 additions and 18 deletions

View File

@ -456,6 +456,7 @@ st_widget_paint_background (StWidget *widget)
else
st_theme_node_paint (theme_node,
current_paint_state (widget),
cogl_get_draw_framebuffer (),
&allocation,
opacity);
}