]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
Implement Con_Error(f) and Con_Warn(f), error and warning, for prettier colors
[xonotic/darkplaces.git] / snd_sdl.c
index f7e0f4723065c73c8b73856257afe8aeaa42a005..2d1f94a6b9c152232ef1b8e3f60764b4d115a63d 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -138,7 +138,7 @@ qboolean SndSys_Init (snd_format_t* fmt)
 
        if ((audio_device = SDL_OpenAudioDevice(NULL, 0, &wantspec, &obtainspec, SDL_AUDIO_ALLOW_FREQUENCY_CHANGE | SDL_AUDIO_ALLOW_CHANNELS_CHANGE)) == 0)
        {
-               Con_Printf( "Failed to open the audio device! (%s)\n", SDL_GetError() );
+               Con_Errorf( "Failed to open the audio device! (%s)\n", SDL_GetError() );
                return false;
        }