Closed pzychotic closed 4 months ago
The array oeWin32Application::m_MsgFn was never initialized and therefor calls to oeWin32Application::add_handler(...) might fail to find an empty slot in that array because of the uninitialized memory.
oeWin32Application::m_MsgFn
oeWin32Application::add_handler(...)
This might fix the IO init problem mentioned in https://github.com/DescentDevelopers/Descent3/issues/217#issuecomment-2104805603. Because the mouse code might fail to add the RawInputHandler at https://github.com/DescentDevelopers/Descent3/blob/56e61275ce3209d2d69b895d5809e4089def0851/ddio_win/winmouse.cpp#L452
Pull Request Type
Description
The array
oeWin32Application::m_MsgFn
was never initialized and therefor calls tooeWin32Application::add_handler(...)
might fail to find an empty slot in that array because of the uninitialized memory.Related Issues
This might fix the IO init problem mentioned in https://github.com/DescentDevelopers/Descent3/issues/217#issuecomment-2104805603. Because the mouse code might fail to add the RawInputHandler at https://github.com/DescentDevelopers/Descent3/blob/56e61275ce3209d2d69b895d5809e4089def0851/ddio_win/winmouse.cpp#L452
Screenshots (if applicable)
Checklist
Additional Comments