mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Removed styleMod.
This commit is contained in:
parent
08b91c5516
commit
716c2d97a0
@ -1213,10 +1213,8 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
|
||||
window->win32.dwStyle = getWindowStyle(&wndconfig);
|
||||
window->win32.dwExStyle = getWindowExStyle(&wndconfig);
|
||||
|
||||
DWORD styleMod = (window->visible || monitor) ? WS_VISIBLE : 0;
|
||||
|
||||
SetWindowLongPtr(window->win32.handle,
|
||||
GWL_STYLE, window->win32.dwStyle | styleMod);
|
||||
GWL_STYLE, window->win32.dwStyle | WS_VISIBLE);
|
||||
SetWindowLongPtr(window->win32.handle,
|
||||
GWL_EXSTYLE, window->win32.dwExStyle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user