SDL_GetDisplays() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga
2024-07-18 16:44:56 -07:00
parent 01199469de
commit 9758e102bc
15 changed files with 32 additions and 51 deletions

View File

@@ -16,7 +16,7 @@
int main(int argc, char **argv)
{
SDL_DisplayID *displays;
const SDL_DisplayID *displays;
int i;
SDLTest_CommonState *state;
@@ -47,7 +47,6 @@ int main(int argc, char **argv)
bounds.x, bounds.y, bounds.w, bounds.h,
usable.x, usable.y, usable.w, usable.h);
}
SDL_free(displays);
}
SDL_Quit();