The refresh rate in SDL_DisplayMode is now a float
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user