# HG changeset patch # User Sam Lantinga # Date 1076654537 0 # Node ID 6176f9a0d61ad8a87be8c0f564888a2021bf65a6 # Parent 5a417d2a8603b1c77b83982ee75cbb6ccb21e0b8 *** empty log message *** diff -r 5a417d2a8603 -r 6176f9a0d61a 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; }