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
This commit is contained in:
parent
47d63c1c55
commit
b63e9ee8f8
@ -149,7 +149,8 @@ update_fbo (ClutterEffect *effect, int fbo_width, int fbo_height)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (priv->target_width == fbo_width &&
|
if (priv->target_width == fbo_width &&
|
||||||
priv->target_height == fbo_height)
|
priv->target_height == fbo_height &&
|
||||||
|
priv->offscreen != COGL_INVALID_HANDLE)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (priv->target == COGL_INVALID_HANDLE)
|
if (priv->target == COGL_INVALID_HANDLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user