mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-23 21:55:12 +00:00
Fixed build
This commit is contained in:
parent
36033e3832
commit
2aa8525ecb
|
@ -2765,7 +2765,7 @@ int SDL_DestroyWindowSurface(SDL_Window *window)
|
||||||
|
|
||||||
if (window->surface) {
|
if (window->surface) {
|
||||||
window->surface->flags &= ~SDL_DONTFREE;
|
window->surface->flags &= ~SDL_DONTFREE;
|
||||||
SDL_DestroySurface(window->surface);
|
SDL_FreeSurface(window->surface);
|
||||||
window->surface = NULL;
|
window->surface = NULL;
|
||||||
window->surface_valid = SDL_FALSE;
|
window->surface_valid = SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue