mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 20:52:09 +00:00 
			
		
		
		
	[client] improve fps target accuracy
This commit is contained in:
		| @@ -224,7 +224,7 @@ int renderThread(void * unused) | ||||
|     { | ||||
|       usleep(state.fpsSleep - total); | ||||
|       int64_t delta   = (1000000 / params.fpsLimit) - (microtime() - start); | ||||
|       state.fpsSleep += delta / 16; | ||||
|       state.fpsSleep += delta; | ||||
|       if (state.fpsSleep < 0) | ||||
|         state.fpsSleep = 0; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae