Fixed build

main
Sam Lantinga 2023-03-29 16:36:01 -07:00
parent 3472dc11d6
commit c07e966690
1 changed files with 3 additions and 1 deletions

View File

@ -748,7 +748,9 @@ SDL_DisplayID *SDL_GetDisplays(int *count)
if (count) {
*count = 0;
}
return SDL_UninitializedVideo();
SDL_UninitializedVideo();
return NULL;
}
displays = (SDL_DisplayID *)SDL_malloc((_this->num_displays + 1) * sizeof(*displays));