[clutter/wip/apocalypses/apocalypse-3: 11/35] paint-nodes: Fix compiler warning
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/apocalypses/apocalypse-3: 11/35] paint-nodes: Fix compiler warning
- Date: Thu, 15 Mar 2012 17:55:47 +0000 (UTC)
commit bd888389af5e127a1f1c56b6f2d79c3694080b09
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Mar 5 18:32:02 2012 +0000
paint-nodes: Fix compiler warning
clutter/clutter-paint-nodes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-paint-nodes.c b/clutter/clutter-paint-nodes.c
index 549ef4e..e9ae2e6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]