mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-23 14:42:03 +02:00
Update graphics delta at the start of update
This commit is contained in:
parent
331f81a710
commit
286270b51e
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue