WINTERMUTE: Actually lock the framerate at 60fps.
This commit is contained in:
parent
127afbac8c
commit
c93a7c3921
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ int WintermuteEngine::messageLoop() {
|
|||
uint32 diff = 0;
|
||||
|
||||
const uint32 maxFPS = 60;
|
||||
const uint32 frameTime = (uint32)((1.0 / maxFPS) * 1000);
|
||||
const uint32 frameTime = 2 * (uint32)((1.0 / maxFPS) * 1000);
|
||||
while (!done) {
|
||||
Common::Event event;
|
||||
while (_system->getEventManager()->pollEvent(event)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue