Restructure Windows "gameloop" to be more similar to others.
This commit is contained in:
parent
f8058e4bae
commit
cbb786c7f0
12 changed files with 150 additions and 114 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue