mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 15:21:43 +00:00
SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule
This commit is contained in:
@@ -1194,7 +1194,7 @@ SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
|
||||
if (state->verbose & VERBOSE_MODES) {
|
||||
const SDL_DisplayID *displays;
|
||||
SDL_Rect bounds, usablebounds;
|
||||
const SDL_DisplayMode **modes;
|
||||
const SDL_DisplayMode * const *modes;
|
||||
const SDL_DisplayMode *mode;
|
||||
int bpp;
|
||||
Uint32 Rmask, Gmask, Bmask, Amask;
|
||||
@@ -1258,7 +1258,6 @@ SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
|
||||
}
|
||||
}
|
||||
}
|
||||
SDL_free((void *)modes);
|
||||
|
||||
#if defined(SDL_VIDEO_DRIVER_WINDOWS) && !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
||||
/* Print the D3D9 adapter index */
|
||||
|
Reference in New Issue
Block a user