pixman_image_validate() needs to also validate the alpha map.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 16 Jan 2010 15:09:25 +0000 (10:09 -0500)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sun, 17 Jan 2010 21:47:15 +0000 (16:47 -0500)
This is the other half of bug 25950.

pixman/pixman-image.c

index e55ba2c..1619165 100644 (file)
@@ -245,6 +245,9 @@ _pixman_image_validate (pixman_image_t *image)
        image->common.property_changed (image);
        image->common.dirty = FALSE;
     }
+
+    if (image->common.alpha_map)
+       _pixman_image_validate (image->common.alpha_map);
 }
 
 PIXMAN_EXPORT pixman_bool_t