debug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user