diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 2e3020d4e..49c91ff1c 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -944,6 +944,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); }