Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed Feb 13, 2004
1 parent 644f577 commit 5f8264eff6e4852cffd48790b8dd18f06e0f6ebe
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/video/windx5/SDL_dx5video.c
@@ -669,7 +669,9 @@ static HRESULT WINAPI EnumModes2(DDSURFACEDESC *desc, VOID *udata)
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 @@ printf("New refresh rate for %d bpp: %dx%d at %d Hz\n", (bpp+1)*8, (int)desc->dw
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;
}

0 comments on commit 5f8264e

Please sign in to comment.