* Remove some C99isms (f0rqu3)
* Provide Q_snprintf wrapper for snprintf (f0rqu3)
This commit is contained in:
parent
eb217f7364
commit
26641226a4
4 changed files with 22 additions and 18 deletions
|
@ -115,6 +115,7 @@ static int GLimp_SetMode( int mode, qboolean fullscreen )
|
|||
int tcolorbits, tdepthbits, tstencilbits;
|
||||
int i = 0;
|
||||
SDL_Surface *vidscreen = NULL;
|
||||
Uint32 flags = SDL_OPENGL;
|
||||
|
||||
ri.Printf( PRINT_ALL, "Initializing OpenGL display\n");
|
||||
|
||||
|
@ -127,7 +128,6 @@ static int GLimp_SetMode( int mode, qboolean fullscreen )
|
|||
}
|
||||
ri.Printf( PRINT_ALL, " %d %d\n", glConfig.vidWidth, glConfig.vidHeight);
|
||||
|
||||
Uint32 flags = SDL_OPENGL;
|
||||
if (fullscreen)
|
||||
{
|
||||
flags |= SDL_FULLSCREEN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue