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.
This commit is contained in:
parent
136557954c
commit
c7392f2c3f
3 changed files with 18 additions and 11 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue