commit
605dfabb94
3 changed files with 3 additions and 3 deletions
|
@ -516,7 +516,7 @@ static qboolean GLimp_StartDriverAndSetMode(int mode, qboolean fullscreen, qbool
|
|||
{
|
||||
const char *driverName;
|
||||
|
||||
if (SDL_Init(SDL_INIT_VIDEO) == -1)
|
||||
if (SDL_Init(SDL_INIT_VIDEO) != 0)
|
||||
{
|
||||
ri.Printf( PRINT_ALL, "SDL_Init( SDL_INIT_VIDEO ) FAILED (%s)\n", SDL_GetError());
|
||||
return qfalse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue