mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-03 12:02:35 +00:00
Updated debug print with new SDL_DisplayMode fields
This commit is contained in:
3
src/video/x11/SDL_x11modes.c
Normal file → Executable file
3
src/video/x11/SDL_x11modes.c
Normal file → Executable file
@@ -226,7 +226,8 @@ 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, mode->w, mode->h, mode->refresh_rate);
|
||||
printf("XRandR mode %d: %dx%d@%dHz\n", (int)modeID,
|
||||
mode->screen_w, mode->screen_h, mode->refresh_rate);
|
||||
#endif
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user