forked from Mirrorlandia_minetest/minetest
added a delay to menu loop
This commit is contained in:
parent
fe02a19f17
commit
c1b164cbcb
@ -1410,6 +1410,10 @@ int main(int argc, char *argv[])
|
|||||||
guienv->drawAll();
|
guienv->drawAll();
|
||||||
|
|
||||||
driver->endScene();
|
driver->endScene();
|
||||||
|
|
||||||
|
// On some computers framerate doesn't seem to be
|
||||||
|
// automatically limited
|
||||||
|
sleep_ms(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Break out of menu-game loop to shut down cleanly
|
// Break out of menu-game loop to shut down cleanly
|
||||||
|
Loading…
Reference in New Issue
Block a user