diff src/video/windx5/SDL_dx5video.c @ 815:6176f9a0d61a

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Fri, 13 Feb 2004 06:42:17 +0000
parents dba98fb391e7
children 58b074c1bc59
line wrap: on
line diff
--- a/src/video/windx5/SDL_dx5video.c	Thu Feb 12 16:29:24 2004 +0000
+++ b/src/video/windx5/SDL_dx5video.c	Fri Feb 13 06:42:17 2004 +0000
@@ -669,7 +669,9 @@
 				if ( refreshRate > enumlists[bpp]->refreshRate &&
 				     refreshRate <= 85 /* safe value? */ ) {
 					enumlists[bpp]->refreshRate = refreshRate;
-printf("New refresh rate for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
+#ifdef DDRAW_DEBUG
+ fprintf(stderr, "New refresh rate for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
+#endif
 				}
 				break;
 			}
@@ -686,7 +688,9 @@
 			enumrect->r.h = (Uint16)desc->dwHeight;
 			enumrect->next = enumlists[bpp];
 			enumlists[bpp] = enumrect;
-printf("New mode for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
+#ifdef DDRAW_DEBUG
+ fprintf(stderr, "New mode for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
+#endif
 			break;
 	}