Fixed styles for undecorated windows on Windows.

This commit is contained in:
Camilla Berglund 2013-05-26 18:00:38 +02:00
parent ffc55c3509
commit a90389044d

View File

@ -788,10 +788,7 @@ static int createWindow(_GLFWwindow* window,
} }
} }
else else
{ window->win32.dwStyle |= WS_POPUP;
window->win32.dwStyle = WS_POPUP;
window->win32.dwExStyle = 0;
}
xpos = CW_USEDEFAULT; xpos = CW_USEDEFAULT;
ypos = CW_USEDEFAULT; ypos = CW_USEDEFAULT;