DearImGui is back again

This commit is contained in:
2025-03-22 17:33:10 +01:00
parent 9a8ab7853a
commit 2208a7200f
6 changed files with 172 additions and 49 deletions

View File

@@ -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;