mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	fix "fade_end" comparison in comparePolygon for ogl batching
effectively the comparison for the "fade_end" polygon property was directly discarded and unused
This commit is contained in:
		
							parent
							
								
									dd45f3cd61
								
							
						
					
					
						commit
						7e2fbe6217
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -203,9 +203,9 @@ static int comparePolygons(const void *p1, const void *p2)
 | 
			
		|||
	diff = poly1->surf.LightInfo.fade_start - poly2->surf.LightInfo.fade_start;
 | 
			
		||||
	if (diff != 0) return diff;
 | 
			
		||||
	diff = poly1->surf.LightInfo.fade_end - poly2->surf.LightInfo.fade_end;
 | 
			
		||||
	if (diff != 0) return diff;
 | 
			
		||||
 | 
			
		||||
	diff = poly1->surf.LightInfo.directional - poly2->surf.LightInfo.directional;
 | 
			
		||||
	if (diff != 0) return diff;
 | 
			
		||||
 | 
			
		||||
	return diff;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue