Merge pull request #229 from marynate/PR-resizable-window
Add display/resizable to project setting to prevent windwo from resizing
This commit is contained in:
commit
c1f4d1c95e
2 changed files with 7 additions and 0 deletions
|
|
@ -888,6 +888,10 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_
|
|||
} else {
|
||||
dwExStyle=WS_EX_APPWINDOW | WS_EX_WINDOWEDGE;
|
||||
dwStyle=WS_OVERLAPPEDWINDOW;
|
||||
if (!video_mode.resizable) {
|
||||
dwStyle &= ~WS_THICKFRAME;
|
||||
dwStyle &= ~WS_MAXIMIZEBOX;
|
||||
}
|
||||
}
|
||||
|
||||
AdjustWindowRectEx(&WindowRect, dwStyle, FALSE, dwExStyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue