浏览代码

fixed issue with GetScreenWidth/GetScreenHeight (#4074)

pull/4076/head
Anthony Carbajal 8 个月前
committed by GitHub
父节点
当前提交
52f2a10db6
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/platforms/rcore_desktop.c

+ 3
- 0
src/platforms/rcore_desktop.c 查看文件

@ -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);
}

正在加载...
取消
保存