The refresh rate in SDL_DisplayMode is now a float

This commit is contained in:
Sam Lantinga committed 2023-01-03 06:35:25 -08:00
1 parent 851b0e16be
commit e3c1749f5b
32 files changed
+107 -83

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ print_mode(const char *prefix, const SDL_DisplayMode *mode)
return;
}
SDL_Log("%s: fmt=%s w=%d h=%d refresh=%d\n",
SDL_Log("%s: fmt=%s w=%d h=%d refresh=%gHz\n",
prefix, SDL_GetPixelFormatName(mode->format),
mode->w, mode->h, mode->refresh_rate);
}