mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed Windows build
This commit is contained in:
parent
0669a224f5
commit
779d403563
@ -615,7 +615,7 @@ WIN_DestroyWindow(_THIS, SDL_Window * window)
|
||||
|
||||
if (data) {
|
||||
ReleaseDC(data->hwnd, data->hdc);
|
||||
ReleaseProp(data->hwnd, TEXT("SDL_WindowData"));
|
||||
RemoveProp(data->hwnd, TEXT("SDL_WindowData"));
|
||||
if (data->created) {
|
||||
DestroyWindow(data->hwnd);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user