mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule
This commit is contained in:
parent
9758e102bc
commit
9de8cb888a
8 changed files with 28 additions and 32 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue