This commit is contained in:
2025-05-05 13:21:07 -05:00
parent 7b4f8e5579
commit b8654659c7

View File

@@ -77,9 +77,9 @@ void ImguiModule::onLoad() {
rcmd_it = --wm->getRenderer()->getCmdList().end()++; rcmd_it = --wm->getRenderer()->getCmdList().end()++;
#if WINDOW == 2 #if WINDOW == 2
ecmd_it = wm->addEventFn([this](Archimedes::Event* e){ ecmd_it = wm->addEventFn([](Archimedes::Event* e){
if(e->userData.type() == std::typeid(SDL_Event*)) { if(e->userData.type() == typeid(SDL_Event*)) {
ImGui_ImplSDL3_ProcessEvent(std::any_cast<SDL_Event*>(e.userData)); ImGui_ImplSDL3_ProcessEvent(std::any_cast<SDL_Event*>(e->userData));
} }
}); });
#endif #endif