diff --git a/src/video/windx5/SDL_dx5video.c b/src/video/windx5/SDL_dx5video.c index 324ce6e20..381bec3d2 100644 --- a/src/video/windx5/SDL_dx5video.c +++ b/src/video/windx5/SDL_dx5video.c @@ -1238,7 +1238,9 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current, break; } } - printf("refresh rate = %d Hz\n", maxRefreshRate); +#ifdef DDRAW_DEBUG + fprintf(stderr, "refresh rate = %d Hz\n", maxRefreshRate); +#endif result = IDirectDraw2_SetDisplayMode(ddraw2, width, height, bpp, maxRefreshRate, 0); if ( result != DD_OK ) {