1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 18:35:20 +02:00

added a delay to menu loop

This commit is contained in:
Perttu Ahola
2011-05-21 12:28:33 +03:00
parent fe02a19f17
commit c1b164cbcb

View File

@@ -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