diff options
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 202c5e75e..816d92118 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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
|