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

@@ -3,10 +3,10 @@ Pos=60,60
Size=400,400
[Window][Dear ImGui Demo]
Pos=650,20
Size=550,680
Pos=690,-19
Size=570,692
[Window][Hello World!]
Pos=60,60
Size=311,157
Pos=0,0
Size=552,180

View File

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