diff --git a/libultraship/Lib/Fast3D/gfx_dxgi.cpp b/libultraship/Lib/Fast3D/gfx_dxgi.cpp index 620fb527143..6e0c2e4d6dd 100644 --- a/libultraship/Lib/Fast3D/gfx_dxgi.cpp +++ b/libultraship/Lib/Fast3D/gfx_dxgi.cpp @@ -229,9 +229,8 @@ static void onkeyup(WPARAM w_param, LPARAM l_param) { } } -char fileName[256]; - static LRESULT CALLBACK gfx_dxgi_wnd_proc(HWND h_wnd, UINT message, WPARAM w_param, LPARAM l_param) { + char fileName[256]; SohImGui::EventImpl event_impl; event_impl.win32 = { h_wnd, static_cast(message), static_cast(w_param), static_cast(l_param) }; SohImGui::Update(event_impl);