This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stating point | |
/* Utilizes lockstep rendering. | |
* A big thanks to Tyler Glaiel for the sample code. | |
* https://github.com/TylerGlaiel/FrameTimingControl | |
* */ | |
void Application::run(std::unique_ptr<IGame> game) | |
{ | |
m_game = std::move(game); | |
auto const fixedStepTarget{ |