DearImGui is back again
This commit is contained in:
@@ -85,6 +85,10 @@ init_sdl_input :: () {
|
||||
update_sdl_input :: () {
|
||||
event : SDL_Event;
|
||||
while SDL_PollEvent(*event) {
|
||||
#if EDITOR {
|
||||
ImGui_ImplSdl_ProcessEvent(*event);
|
||||
}
|
||||
|
||||
if event.type == {
|
||||
case SDL_QUIT; {
|
||||
engine.input.exit = true;
|
||||
|
||||
Reference in New Issue
Block a user