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
|
||||
m_ImGui->Begin();
|
||||
@@ -149,7 +150,6 @@ void Application::Run() {
|
||||
|
||||
SDL_RenderPresent(m_Renderer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Application::Shutdown() {
|
||||
|
||||
Reference in New Issue
Block a user