fix stuff

This commit is contained in:
2026-07-08 18:34:38 +03:00
parent 11b429d975
commit 5e3bb0e961
2 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ namespace
return 0;
return std::nullopt;
});
mgr.hook_wnd_proc(params.hFocusWindow);
std::ignore = mgr.hook_wnd_proc(params.hFocusWindow);
g_initialized = true;
}
@@ -86,7 +86,7 @@ BOOL WINAPI DllMain(HINSTANCE h_instance, DWORD reason, LPVOID)
auto& mgr = omath::hooks::HooksManager::get();
mgr.set_on_dx9_present(on_present);
mgr.set_on_dx9_reset(on_reset);
mgr.hook_dx9();
std::ignore = mgr.hook_dx9();
return 0;
}, nullptr, 0, nullptr);
}