fixed issue with GetScreenWidth/GetScreenHeight (#4074)
This commit is contained in:
parent
dcf2f6a8e9
commit
52f2a10db6
1 changed files with 3 additions and 0 deletions
|
@ -666,6 +666,9 @@ void SetWindowMaxSize(int width, int height)
|
|||
// Set window dimensions
|
||||
void SetWindowSize(int width, int height)
|
||||
{
|
||||
CORE.Window.screen.width = width;
|
||||
CORE.Window.screen.height = height;
|
||||
|
||||
glfwSetWindowSize(platform.handle, width, height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue