use lesser precision in hope it works
This commit is contained in:
		
							parent
							
								
									3996501cf0
								
							
						
					
					
						commit
						da9658408a
					
				@ -19,7 +19,7 @@ inline static BYTE line_clip_outcode(INT32 x, INT32 y, INT32 xmin, INT32 ymin, I
 | 
				
			|||||||
  return rc;
 | 
					  return rc;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define CPX 16  /* clipping precision in bits */
 | 
					#define CPX 4  /* clipping precision in bits */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* these macros keep the number of bits straight when doing fixed-point multiply & divide */
 | 
					/* these macros keep the number of bits straight when doing fixed-point multiply & divide */
 | 
				
			||||||
#define M(a, b)  ((((a) * (b))) >> CPX)
 | 
					#define M(a, b)  ((((a) * (b))) >> CPX)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user