mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
* Fix warning in cl_main.c
* Fix bug #4026 (SDL dx backend doesn't work on some machines)
This commit is contained in:
parent
2bd4c89203
commit
64a0a078d2
5 changed files with 53 additions and 17 deletions
|
@ -581,6 +581,25 @@ void Sys_ErrorDialog( const char *error )
|
|||
static qboolean SDL_VIDEODRIVER_externallySet = qfalse;
|
||||
#endif
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_GLimpSafeInit
|
||||
|
||||
Windows specific "safe" GL implementation initialisation
|
||||
==============
|
||||
*/
|
||||
void Sys_GLimpSafeInit( void )
|
||||
{
|
||||
#ifndef DEDICATED
|
||||
if( !SDL_VIDEODRIVER_externallySet )
|
||||
{
|
||||
// Here, we want to let SDL decide what do to unless
|
||||
// explicitly requested otherwise
|
||||
_putenv( "SDL_VIDEODRIVER=" );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_GLimpInit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue