Games get desynced #491
This commit is contained in:
parent
c9fb9cbe73
commit
d4131c0bb5
|
@ -2767,7 +2767,7 @@ s32 main(s32 argc, char **argv)
|
||||||
nextTick += Delta;
|
nextTick += Delta;
|
||||||
tick();
|
tick();
|
||||||
|
|
||||||
if(noVsync || SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED)
|
if(SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED || noVsync)
|
||||||
{
|
{
|
||||||
s64 delay = nextTick - SDL_GetPerformanceCounter();
|
s64 delay = nextTick - SDL_GetPerformanceCounter();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue