* Add Sys_GLimpInit for platform specific GLimp initialisation
* Move Unix specific signal handlers to Sys_PlatformInit * (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already set externally * (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1
This commit is contained in:
parent
2cf5052786
commit
d4d5527a89
5 changed files with 67 additions and 16 deletions
|
@ -551,16 +551,6 @@ int main( int argc, char **argv )
|
|||
|
||||
CON_Init( );
|
||||
|
||||
#ifndef _WIN32
|
||||
// Windows doesn't have these signals
|
||||
// see CON_CtrlHandler() in con_win32.c
|
||||
signal( SIGHUP, Sys_SigHandler );
|
||||
signal( SIGQUIT, Sys_SigHandler );
|
||||
signal( SIGTRAP, Sys_SigHandler );
|
||||
signal( SIGIOT, Sys_SigHandler );
|
||||
signal( SIGBUS, Sys_SigHandler );
|
||||
#endif
|
||||
|
||||
signal( SIGILL, Sys_SigHandler );
|
||||
signal( SIGFPE, Sys_SigHandler );
|
||||
signal( SIGSEGV, Sys_SigHandler );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue