Bitmap: Don't use 'pixman_region_clear'
It's not included in older pixman versions.
This commit is contained in:
parent
ac9b98157e
commit
673a25f811
|
@ -125,7 +125,8 @@ struct BitmapPrivate
|
||||||
|
|
||||||
void clearTaintedArea()
|
void clearTaintedArea()
|
||||||
{
|
{
|
||||||
pixman_region_clear(&tainted);
|
pixman_region_fini(&tainted);
|
||||||
|
pixman_region_init(&tainted);
|
||||||
}
|
}
|
||||||
|
|
||||||
void addTaintedArea(const IntRect &rect)
|
void addTaintedArea(const IntRect &rect)
|
||||||
|
|
Loading…
Reference in New Issue