mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-06 17:17:04 +00:00
Fixed build
This commit is contained in:
@@ -2765,7 +2765,7 @@ int SDL_DestroyWindowSurface(SDL_Window *window)
|
||||
|
||||
if (window->surface) {
|
||||
window->surface->flags &= ~SDL_DONTFREE;
|
||||
SDL_DestroySurface(window->surface);
|
||||
SDL_FreeSurface(window->surface);
|
||||
window->surface = NULL;
|
||||
window->surface_valid = SDL_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user