[mutter] MetaShapedTexture: Fix a crash caused by a silly typo



commit 9520eaa970b7a106326e8a6e8deb681887040b31
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 13 20:15:18 2011 -0400

    MetaShapedTexture: Fix a crash caused by a silly typo

 src/compositor/meta-shaped-texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index 20ef069..8650fe9 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]