mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-03 17:01:17 +00:00
Initialize the input backend
This commit is contained in:
parent
6b7bc06074
commit
6b650e9ea7
1 changed files with 5 additions and 0 deletions
|
@ -391,6 +391,11 @@ VID_LoadRefresh(char *name)
|
|||
Com_Error(ERR_FATAL, "No input backend init functions in REF.\n");
|
||||
}
|
||||
|
||||
if (IN_BackendInit_fp)
|
||||
{
|
||||
IN_BackendInit_fp( &in_state );
|
||||
}
|
||||
|
||||
if (re.Init(global_hInstance, 0) == -1)
|
||||
{
|
||||
re.Shutdown();
|
||||
|
|
Loading…
Reference in a new issue