mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
Shutdown some subsystems on exit.
This fixes the problem with X keyboard repeat not being restored.
This commit is contained in:
parent
61c6a4b68e
commit
a54f3d9035
1 changed files with 10 additions and 0 deletions
|
@ -151,6 +151,14 @@ static builtin_t builtins[] = {
|
|||
{0}
|
||||
};
|
||||
|
||||
static void
|
||||
bi_shutdown (void)
|
||||
{
|
||||
S_Shutdown ();
|
||||
IN_Shutdown ();
|
||||
VID_Shutdown ();
|
||||
}
|
||||
|
||||
void
|
||||
BI_Init (progs_t *pr)
|
||||
{
|
||||
|
@ -162,6 +170,8 @@ BI_Init (progs_t *pr)
|
|||
PI_Init ();
|
||||
PI_RegisterPlugins (client_plugin_list);
|
||||
|
||||
Sys_RegisterShutdown (bi_shutdown);
|
||||
|
||||
VID_Init_Cvars ();
|
||||
IN_Init_Cvars ();
|
||||
Mod_Init_Cvars ();
|
||||
|
|
Loading…
Reference in a new issue