mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fix build with -DX11MODES_DEBUG in CPPFLAGS
This commit is contained in:

committed by
Anonymous Maarten

parent
d24ef0213b
commit
ba5b1f2fd2
@@ -226,7 +226,7 @@ static SDL_bool SetXRandRModeInfo(Display *display, XRRScreenResources *res, RRC
|
||||
mode->refresh_rate = CalculateXRandRRefreshRate(info);
|
||||
((SDL_DisplayModeData *)mode->driverdata)->xrandr_mode = modeID;
|
||||
#ifdef X11MODES_DEBUG
|
||||
printf("XRandR mode %d: %dx%d@%dHz\n", (int)modeID,
|
||||
printf("XRandR mode %d: %dx%d@%gHz\n", (int)modeID,
|
||||
mode->screen_w, mode->screen_h, mode->refresh_rate);
|
||||
#endif
|
||||
return SDL_TRUE;
|
||||
|
Reference in New Issue
Block a user