mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
MetaShapedTexture: Fix a crash caused by a silly typo
This commit is contained in:
parent
088e0c1ee7
commit
9520eaa970
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user