Make "Warning: Using colour depth of 32 instead of 24." message a debug log message
instead of a printf. Requested by Christian Vest Hansen <karmazilla@gmail.com> in bug#4979. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@386 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
5b6b5ecf78
commit
68c879d8de
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue