*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 13 Feb 2004 06:42:17 +0000
changeset 815 6176f9a0d61a
parent 814 5a417d2a8603
child 816 428f688f2ad2
*** empty log message ***
src/video/windx5/SDL_dx5video.c
--- 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;
 	}