From 68c879d8dea08d0862f5e3437c4c42c7819d4afd Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Mon, 16 Jan 2006 18:51:12 +0000 Subject: [PATCH] Make "Warning: Using colour depth of 32 instead of 24." message a debug log message instead of a printf. Requested by Christian Vest Hansen in bug#4979. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@386 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/ivis_opengl/screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ivis_opengl/screen.c b/lib/ivis_opengl/screen.c index d32d95289..7b27eb56f 100644 --- a/lib/ivis_opengl/screen.c +++ b/lib/ivis_opengl/screen.c @@ -192,7 +192,8 @@ BOOL screenInitialise( UDWORD width, // Display width return FALSE; } if (bpp != screenDepth) { - printf("Warning: Using colour depth of %d instead of %d.\n", bpp, screenDepth); + debug(LOG_3D, "Warning: Using colour depth of %d instead of %d.", + bpp, screenDepth); } screen = SDL_SetVideoMode(width, height, bpp, video_flags); if (!screen) {