mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Remove unused TEXTURE_IN_CLONE_PAINT private flag
The CLUTTER_TEXTURE_IN_CLONE_PAINT was used with the old CloneTexture actor; now that we have ClutterClone nothing sets the private flag anymore, and the flag itself is not needed.
This commit is contained in:
parent
13f31d8319
commit
43d394ebae
@ -64,8 +64,7 @@ typedef enum {
|
||||
*/
|
||||
CLUTTER_ACTOR_IN_PAINT = 1 << 4, /* Used to avoid recursion */
|
||||
CLUTTER_ACTOR_IN_RELAYOUT = 1 << 5, /* Used to avoid recursion */
|
||||
CLUTTER_TEXTURE_IN_CLONE_PAINT = 1 << 6, /* Used for safety in clones */
|
||||
CLUTTER_STAGE_IN_RESIZE = 1 << 7
|
||||
CLUTTER_STAGE_IN_RESIZE = 1 << 6
|
||||
} ClutterPrivateFlags;
|
||||
|
||||
struct _ClutterInputDevice
|
||||
|
@ -610,13 +610,6 @@ clutter_texture_paint (ClutterActor *self)
|
||||
clutter_shader_set_is_enabled (shader, TRUE);
|
||||
}
|
||||
|
||||
/* A clone may need to fire above if were a TFP/FBO but not visible.
|
||||
* Ultimatly needs some reworking with maybe an extra prepare_paint
|
||||
* method or some such.
|
||||
*/
|
||||
if (CLUTTER_PRIVATE_FLAGS(self) & CLUTTER_TEXTURE_IN_CLONE_PAINT)
|
||||
return;
|
||||
|
||||
CLUTTER_NOTE (PAINT,
|
||||
"painting texture '%s'",
|
||||
clutter_actor_get_name (self) ? clutter_actor_get_name (self)
|
||||
|
Loading…
Reference in New Issue
Block a user