imgui event
This commit is contained in:
@@ -113,6 +113,8 @@ void Application::Run()
|
||||
|
||||
while (SDL_PollEvent(&event))
|
||||
{
|
||||
ImGui_ImplSDL2_ProcessEvent(&event);
|
||||
|
||||
if (event.type == SDL_QUIT)
|
||||
{
|
||||
SetRunningState(false);
|
||||
|
||||
Reference in New Issue
Block a user