src/video/windx5/SDL_dx5video.c
changeset 815 6176f9a0d61a
parent 809 dba98fb391e7
child 830 58b074c1bc59
     1.1 --- a/src/video/windx5/SDL_dx5video.c	Thu Feb 12 16:29:24 2004 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5video.c	Fri Feb 13 06:42:17 2004 +0000
     1.3 @@ -669,7 +669,9 @@
     1.4  				if ( refreshRate > enumlists[bpp]->refreshRate &&
     1.5  				     refreshRate <= 85 /* safe value? */ ) {
     1.6  					enumlists[bpp]->refreshRate = refreshRate;
     1.7 -printf("New refresh rate for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
     1.8 +#ifdef DDRAW_DEBUG
     1.9 + fprintf(stderr, "New refresh rate for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
    1.10 +#endif
    1.11  				}
    1.12  				break;
    1.13  			}
    1.14 @@ -686,7 +688,9 @@
    1.15  			enumrect->r.h = (Uint16)desc->dwHeight;
    1.16  			enumrect->next = enumlists[bpp];
    1.17  			enumlists[bpp] = enumrect;
    1.18 -printf("New mode for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
    1.19 +#ifdef DDRAW_DEBUG
    1.20 + fprintf(stderr, "New mode for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dwWidth, (int)desc->dwHeight, refreshRate);
    1.21 +#endif
    1.22  			break;
    1.23  	}
    1.24