diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index f22c3b65c..5df672191 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -932,6 +932,9 @@ meta_shaped_texture_set_texture (MetaShapedTexture *stex, { g_return_if_fail (META_IS_SHAPED_TEXTURE (stex)); + if (stex->texture == texture) + return; + set_cogl_texture (stex, texture); }