Update graphics delta at the start of update

This commit is contained in:
Roza 2021-02-26 06:25:19 -05:00
parent 775bbe7b76
commit 4e40910dfb

View file

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