bug fixed: imgui rendered inside the event loop
the closing bracket for the event loop was misplaced and the imgui render got inside the event loop
This commit is contained in:
@@ -133,6 +133,7 @@ void Application::Run() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Rendering
|
// Rendering
|
||||||
m_ImGui->Begin();
|
m_ImGui->Begin();
|
||||||
@@ -150,7 +151,6 @@ void Application::Run() {
|
|||||||
SDL_RenderPresent(m_Renderer);
|
SDL_RenderPresent(m_Renderer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void Application::Shutdown() {
|
void Application::Shutdown() {
|
||||||
LOG_WARN("Shutting down the application!");
|
LOG_WARN("Shutting down the application!");
|
||||||
|
|||||||
Reference in New Issue
Block a user