Bitmap: Don't use 'pixman_region_clear'

It's not included in older pixman versions.
This commit is contained in:
Jonas Kulla 2014-09-07 19:11:20 +02:00
parent ac9b98157e
commit 673a25f811
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ struct BitmapPrivate
void clearTaintedArea()
{
pixman_region_clear(&tainted);
pixman_region_fini(&tainted);
pixman_region_init(&tainted);
}
void addTaintedArea(const IntRect &rect)