This commit is contained in:
Arche Washi 2024-10-31 12:46:28 +08:00
parent b8c0842b2e
commit 04731e1802

View File

@ -667,6 +667,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);
} }