imgui event

This commit is contained in:
2024-06-24 20:06:35 +02:00
parent f1576a2e69
commit a851590c35
2 changed files with 6 additions and 4 deletions

View File

@@ -113,6 +113,8 @@ void Application::Run()
while (SDL_PollEvent(&event))
{
ImGui_ImplSDL2_ProcessEvent(&event);
if (event.type == SDL_QUIT)
{
SetRunningState(false);