projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e0e48
)
texture: Don't compare fbo_source with COGL_INVALID_HANDLE
author
Damien Lespiau
<damien.lespiau@gmail.com>
Sun, 1 Nov 2009 14:36:05 +0000
(14:36 +0000)
committer
Damien Lespiau
<damien.lespiau@gmail.com>
Mon, 2 Nov 2009 14:40:43 +0000
(14:40 +0000)
fbo_source is a ClutterActor, it should be compared to NULL instead of
COGL_INVALID_HANDLE.
clutter/clutter-texture.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-texture.c
b/clutter/clutter-texture.c
index
363c991
..
4d29962
100644
(file)
--- a/
clutter/clutter-texture.c
+++ b/
clutter/clutter-texture.c
@@
-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);