mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[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:
parent
f3a428fbdd
commit
0a89c513b4
1 changed files with 0 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue