]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
added Print versions of Printf functions and made all calls that do not need formatin...
[xonotic/darkplaces.git] / vid_sdl.c
index 0c83c410fe23ec566c3652de6911a9c637f9b315..25252a942bfd7db99da4b06f10ce4114d7d8709a 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -59,7 +59,7 @@ int VID_InitMode(int fullscreen, int width, int height, int bpp)
                drivername = com_argv[i + 1];
        if (!SDL_GL_LoadLibrary(drivername))
        {   
-               Con_Printf("Unable to load GL driver \"%s\"\n: ", drivername, SDL_GetError());
+               Con_Printf("Unable to load GL driver \"%s\": ", drivername, SDL_GetError());
                return false;
        }
 
@@ -70,7 +70,7 @@ int VID_InitMode(int fullscreen, int width, int height, int bpp)
        if (qglGetString == NULL)
        {
                VID_Shutdown();
-               Con_Printf("Required OpenGL function glGetString not found\n");
+               Con_Print("Required OpenGL function glGetString not found\n");
                return false;
        }