Properly set windows size on Windows
This commit is contained in:
parent
90272af197
commit
14c0dcad3f
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ int platform::open_window(const std::string_view title, const prism::Rectangle r
|
|||
flags == WindowFlags::Resizable ? WS_OVERLAPPEDWINDOW : (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX), // Window style
|
||||
rect.offset.x,
|
||||
rect.offset.y,
|
||||
wr.right - wr.left,
|
||||
wr.bottom - wr.top,
|
||||
rect.extent.width,
|
||||
rect.extent.height,
|
||||
NULL,
|
||||
NULL,
|
||||
instance,
|
||||
|
|
Reference in a new issue