Skip to content

Commit d007634

Browse files
committed
Getting the Input instance outside the entry point of the program for avoiding errors with the Window procedure
2 parents 2fcf0c8 + e9952bc commit d007634

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
4949
#endif
5050
spdlog::debug("Window created");
5151

52-
g_input->SetHWND(hwnd);
5352
Core* core = Core::GetInstance();
5453
core->SetHWND(hwnd);
5554

0 commit comments

Comments
 (0)