mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
Fixed game crash: divide by zero due to threads racing
This commit is contained in:
parent
7a32e41d47
commit
d92356f085
@ -473,9 +473,9 @@ void CGuiHandler::renderFrame()
|
|||||||
SDL_RenderPresent(mainRenderer);
|
SDL_RenderPresent(mainRenderer);
|
||||||
|
|
||||||
disposed.clear();
|
disposed.clear();
|
||||||
|
|
||||||
|
mainFPSmng->framerateDelay(); // holds a constant FPS
|
||||||
}
|
}
|
||||||
|
|
||||||
mainFPSmng->framerateDelay(); // holds a constant FPS
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user