[win] Do not call IN_ClearStates when creating the window

The window is created before input is initialized. Fixes a segfault on
startup of nq-win.exe.
This commit is contained in:
Bill Currie 2023-11-23 21:13:47 +09:00
parent f3a428fbdd
commit 0a89c513b4

View file

@ -876,7 +876,6 @@ Win_CreateWindow (int width, int height)
SetForegroundWindow (win_mainwindow);
}
// fix the leftover Alt from any Alt-Tab or the like that switched us away
IN_ClearStates ();
Sys_Printf ("%s\n", VID_GetModeDescription (vid_modenum));