mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
fixed issue with GetScreenWidth/GetScreenHeight (#4074)
This commit is contained in:
parent
dcf2f6a8e9
commit
52f2a10db6
@ -666,6 +666,9 @@ void SetWindowMaxSize(int width, int height)
|
|||||||
// Set window dimensions
|
// Set window dimensions
|
||||||
void SetWindowSize(int width, int height)
|
void SetWindowSize(int width, int height)
|
||||||
{
|
{
|
||||||
|
CORE.Window.screen.width = width;
|
||||||
|
CORE.Window.screen.height = height;
|
||||||
|
|
||||||
glfwSetWindowSize(platform.handle, width, height);
|
glfwSetWindowSize(platform.handle, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user