Bitmap: Don't use 'pixman_region_clear'
It's not included in older pixman versions.
This commit is contained in:
		
							parent
							
								
									ac9b98157e
								
							
						
					
					
						commit
						673a25f811
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue