Commit 167c79c0 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40831
parent 461cccf9
...@@ -1238,7 +1238,9 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current, ...@@ -1238,7 +1238,9 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current,
break; 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); result = IDirectDraw2_SetDisplayMode(ddraw2, width, height, bpp, maxRefreshRate, 0);
if ( result != DD_OK ) { if ( result != DD_OK ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment