Update graphics delta at the start of update

This commit is contained in:
Struma 2021-02-26 06:25:19 -05:00 committed by Roza
parent 331f81a710
commit 286270b51e

View file

@ -593,6 +593,9 @@ unsigned long long Graphics::getDelta() {
void Graphics::update() {
p->checkShutDownReset();
p->last_update = shState->runTime();
p->checkSyncLock();
#ifdef MKXPZ_STEAM
@ -619,7 +622,6 @@ void Graphics::update() {
p->checkResize();
p->redrawScreen();
p->last_update = shState->runTime();
}
void Graphics::freeze() {