From a58be8aad15b0248578de11405832b23332a7d99 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 5 Mar 2012 18:32:02 +0000 Subject: [PATCH] paint-nodes: Fix compiler warning --- clutter/clutter-paint-nodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-paint-nodes.c b/clutter/clutter-paint-nodes.c index 549ef4eb0..e9ae2e600 100644 --- a/clutter/clutter-paint-nodes.c +++ b/clutter/clutter-paint-nodes.c @@ -1177,7 +1177,7 @@ clutter_layer_node_new (const CoglMatrix *projection, COGL_TEXTURE_NO_SLICING, COGL_PIXEL_FORMAT_RGBA_8888_PRE); - res->offscreen = cogl_offscreen_new_to_texture (res->texture); + res->offscreen = COGL_FRAMEBUFFER (cogl_offscreen_new_to_texture (res->texture)); if (res->offscreen == NULL) { g_critical ("%s: Unable to create an offscreen buffer", G_STRLOC);