Restructure Windows "gameloop" to be more similar to others.

This commit is contained in:
Henrik Rydgard 2013-02-18 23:25:06 +01:00
parent f8058e4bae
commit cbb786c7f0
12 changed files with 150 additions and 114 deletions

View file

@ -117,11 +117,6 @@ void WindowsHost::BeginFrame()
for (auto iter = this->input.begin(); iter != this->input.end(); iter++)
if ((*iter)->UpdateState() == 0)
break; // *iter is std::shared_ptr, **iter is InputDevice
GL_BeginFrame();
}
void WindowsHost::EndFrame()
{
GL_EndFrame();
}
void WindowsHost::BootDone()