mirror of https://github.com/encounter/SDL.git
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