浏览代码

Allow SetWindowSize() on web (#1847)

pull/1849/head
Nikhilesh S 3 年前
committed by GitHub
父节点
当前提交
f7a6b94f46
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c 查看文件

@ -1560,7 +1560,7 @@ void SetWindowMinSize(int width, int height)
// TODO: Issues on HighDPI scaling
void SetWindowSize(int width, int height)
{
#if defined(PLATFORM_DESKTOP)
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
glfwSetWindowSize(CORE.Window.handle, width, height);
#endif
#if defined(PLATFORM_WEB)

正在加载...
取消
保存