mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
texture: Don't compare fbo_source with COGL_INVALID_HANDLE
fbo_source is a ClutterActor, it should be compared to NULL instead of COGL_INVALID_HANDLE.
This commit is contained in:
parent
f6e0e48ac6
commit
0599d12ec9
@ -251,7 +251,7 @@ clutter_texture_unrealize (ClutterActor *actor)
|
||||
|
||||
CLUTTER_MARK();
|
||||
|
||||
if (priv->fbo_source != COGL_INVALID_HANDLE)
|
||||
if (priv->fbo_source != NULL)
|
||||
{
|
||||
/* Free up our fbo handle and texture resources, realize will recreate */
|
||||
cogl_handle_unref (priv->fbo_handle);
|
||||
|
Loading…
Reference in New Issue
Block a user