mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed build
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user