Fixed build

This commit is contained in:
Sam Lantinga
2023-03-29 16:36:01 -07:00
parent 3472dc11d6
commit c07e966690

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));