From 9520eaa970b7a106326e8a6e8deb681887040b31 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 13 Sep 2011 20:15:18 -0400 Subject: [PATCH] MetaShapedTexture: Fix a crash caused by a silly typo --- src/compositor/meta-shaped-texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 20ef069fd..8650fe977 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -175,7 +175,7 @@ meta_shaped_texture_dirty_mask (MetaShapedTexture *stex) cairo_region_destroy (priv->visible_pixels_region); priv->visible_pixels_region = NULL; - if (priv->mask_texture == COGL_INVALID_HANDLE) + if (priv->mask_texture != COGL_INVALID_HANDLE) { cogl_handle_unref (priv->mask_texture); priv->mask_texture = COGL_INVALID_HANDLE;