(!1654) Xnest: replace XFillArcs() by xcb_poly_fill_arc()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									aad501642e
								
							
						
					
					
						commit
						416fb5c313
					
				| 
						 | 
				
			
			@ -296,8 +296,13 @@ xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
 | 
			
		|||
void
 | 
			
		||||
xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc * pArcs)
 | 
			
		||||
{
 | 
			
		||||
    XFillArcs(xnestDisplay, xnestDrawable(pDrawable), xnestGC(pGC),
 | 
			
		||||
              (XArc *) pArcs, nArcs);
 | 
			
		||||
    /* xArc and xcb_arc_t are defined in the same way, both matching
 | 
			
		||||
       the protocol layout, so we can directly typecast them */
 | 
			
		||||
    xcb_poly_fill_arc(xnestUpstreamInfo.conn,
 | 
			
		||||
                      xnestDrawable(pDrawable),
 | 
			
		||||
                      xnest_upstream_gc(pGC),
 | 
			
		||||
                      nArcs,
 | 
			
		||||
                      (xcb_arc_t*)pArcs);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue