Ticket #2882: t2882_limit_fps_wip_v1.patch
File t2882_limit_fps_wip_v1.patch, 627 bytes (added by , 9 years ago) |
---|
-
source/main.cpp
301 301 } 302 302 303 303 // TODO: throttling: limit update and render frequency to the minimum. 304 304 // this is mostly relevant for "inactive" state, so that other windows 305 305 // get enough CPU time, but it's always nice for power+thermal management. 306 SDL_Delay(16.0 - realTimeSinceLastFrame); 306 307 307 308 308 309 // this scans for changed files/directories and reloads them, thus 309 310 // allowing hotloading (changes are immediately assimilated in-game). 310 311 ReloadChangedFiles();