diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-11-27 16:07:01 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-11-29 16:45:21 +0000 |
commit | 423366864b911ba5dc42cc8350ad3ed2c7c5f2a0 (patch) | |
tree | 89ced91a61b9368d71e3775a150e3d6341e6a87c | |
parent | 09b6a445756a9f2b5f925705feb7ad80093dd9f2 (diff) | |
download | clutter-423366864b911ba5dc42cc8350ad3ed2c7c5f2a0.tar.gz |
Don't bail out from creating the FBO if we don't have it yet.
This happens when reattaching an effect to another actor.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2453
-rw-r--r-- | clutter/clutter-offscreen-effect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clutter/clutter-offscreen-effect.c b/clutter/clutter-offscreen-effect.c index bc00ff205..b5b28fde9 100644 --- a/clutter/clutter-offscreen-effect.c +++ b/clutter/clutter-offscreen-effect.c @@ -155,7 +155,8 @@ update_fbo (ClutterEffect *effect) */ clutter_actor_get_transformed_size (priv->actor, &width, &height); if (priv->target_width == width && - priv->target_height == height) + priv->target_height == height && + priv->offscreen != COGL_INVALID_HANDLE) return TRUE; if (priv->target != COGL_INVALID_HANDLE) |