Changeset 6318
- Timestamp:
- Dec 10, 2009, 11:40:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/Game.cc
r6277 r6318 314 314 void Game::updateFPSLimiter() 315 315 { 316 uint 32_t nextTime = gameClock_->getMicroseconds() - excessSleepTime_ + static_cast<uint32_t>(1000000.0f / fpsLimit_);316 uint64_t nextTime = gameClock_->getMicroseconds() - excessSleepTime_ + static_cast<uint32_t>(1000000.0f / fpsLimit_); 317 317 uint64_t currentRealTime = gameClock_->getRealMicroseconds(); 318 318 while (currentRealTime < nextTime - minimumSleepTime_)
Note: See TracChangeset
for help on using the changeset viewer.