aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/linux_glimp.c
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-01 05:09:21 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-01 05:09:21 +0000
commite7067a0011612692677189db92a657ab88335721 (patch)
treeb15c7153e5cd7eddd3e309de2cc42c0274c3e679 /code/unix/linux_glimp.c
parent646e87719a78cae865eb3f7522a3b44b1ce07770 (diff)
downloadioquake3-aero-e7067a0011612692677189db92a657ab88335721.tar.gz
ioquake3-aero-e7067a0011612692677189db92a657ab88335721.zip
Screw with (de)initialization code.
This fixes: - Mouse grab being lost after alt-enter goes windowed in the SDL driver. - Joystick ceasing to function on vid_restart in the SDL driver. - Audio failing to work after after snd_restart in the SDL driver. - Probably other things. git-svn-id: svn://svn.icculus.org/quake3/trunk@62 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/linux_glimp.c')
-rw-r--r--code/unix/linux_glimp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/unix/linux_glimp.c b/code/unix/linux_glimp.c
index 0fd5440..08c20bd 100644
--- a/code/unix/linux_glimp.c
+++ b/code/unix/linux_glimp.c
@@ -1408,6 +1408,8 @@ void GLimp_Init( void )
InitSig();
+ IN_Init(); // rcg08312005 moved into glimp.
+
// Hack here so that if the UI
if ( *r_previousglDriver->string )
{