* Remove some C99isms (f0rqu3)

* Provide Q_snprintf wrapper for snprintf (f0rqu3)
This commit is contained in:
Tim Angus 2007-10-01 07:56:32 +00:00
parent eb217f7364
commit 26641226a4
4 changed files with 22 additions and 18 deletions

View file

@ -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;