Must offset composite parameters by drawable coordinates in accelerated
case.
This commit is contained in:
		
							parent
							
								
									d694b44259
								
							
						
					
					
						commit
						e500986657
					
				| 
						 | 
				
			
			@ -967,6 +967,15 @@ kaaComposite(CARD8	op,
 | 
			
		|||
	{
 | 
			
		||||
	    RegionRec	region;
 | 
			
		||||
	    
 | 
			
		||||
	    xDst += pDst->pDrawable->x;
 | 
			
		||||
	    yDst += pDst->pDrawable->y;
 | 
			
		||||
	    xSrc += pSrc->pDrawable->x;
 | 
			
		||||
	    ySrc += pSrc->pDrawable->y;
 | 
			
		||||
	    if (pMask)
 | 
			
		||||
	    {
 | 
			
		||||
		xMask += pMask->pDrawable->x;
 | 
			
		||||
		yMask += pMask->pDrawable->y;
 | 
			
		||||
	    }
 | 
			
		||||
	    if (!miComputeCompositeRegion (®ion, pSrc, pMask, pDst,
 | 
			
		||||
					   xSrc, ySrc, xMask, yMask, xDst, yDst,
 | 
			
		||||
					   width, height))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue