mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 23:31:45 +00:00
Remove SDL_WINDOW_SHOW flag, as redundant with SDL_WINDOW_HIDDEN
This commit is contained in:
@@ -378,9 +378,9 @@ static int SetupWindowData(_THIS, SDL_Window *window, HWND hwnd, HWND parent, SD
|
||||
{
|
||||
DWORD style = GetWindowLong(hwnd, GWL_STYLE);
|
||||
if (style & WS_VISIBLE) {
|
||||
window->flags |= SDL_WINDOW_SHOWN;
|
||||
window->flags &= ~SDL_WINDOW_HIDDEN;
|
||||
} else {
|
||||
window->flags &= ~SDL_WINDOW_SHOWN;
|
||||
window->flags |= SDL_WINDOW_HIDDEN;
|
||||
}
|
||||
if (style & WS_POPUP) {
|
||||
window->flags |= SDL_WINDOW_BORDERLESS;
|
||||
|
Reference in New Issue
Block a user