Games get desynced #491

This commit is contained in:
BADIM-PC\Vadim 2017-12-31 13:27:54 +03:00
parent c9fb9cbe73
commit d4131c0bb5
1 changed files with 1 additions and 1 deletions

View File

@ -2767,7 +2767,7 @@ s32 main(s32 argc, char **argv)
nextTick += Delta;
tick();
if(noVsync || SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED)
if(SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED || noVsync)
{
s64 delay = nextTick - SDL_GetPerformanceCounter();