Added basic ImGui implementation

This commit is contained in:
2015-12-12 18:08:10 +01:00
parent 653b4689b5
commit 7db1feac17
6 changed files with 384 additions and 3 deletions
+2 -2
View File
@@ -68,6 +68,8 @@ Game::~Game()
void Game::Tick()
{
glfwPollEvents();
double currentTime = glfwGetTime();
double dt = currentTime - m_LastTime;
m_LastTime = currentTime;
@@ -94,8 +96,6 @@ void Game::Tick()
GLERROR("Game::Tick m_Renderer->Draw");
m_EventBroker->Swap();
m_EventBroker->Clear();
glfwPollEvents();
}