Allow delay ticks
This commit is contained in:
		
							parent
							
								
									f20d7a43b1
								
							
						
					
					
						commit
						3f42fac8f5
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -418,10 +418,6 @@ struct FPSLimiter
 | 
			
		|||
private:
 | 
			
		||||
	void delayTicks(uint64_t ticks)
 | 
			
		||||
	{
 | 
			
		||||
#ifdef __EMSCRIPTEN__
 | 
			
		||||
	return;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(HAVE_NANOSLEEP)
 | 
			
		||||
		struct timespec req;
 | 
			
		||||
		uint64_t nsec = ticks / tickFreqNS;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue