mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
added a delay to menu loop
This commit is contained in:
@ -1410,6 +1410,10 @@ int main(int argc, char *argv[])
|
||||
guienv->drawAll();
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user