瀏覽代碼

note (#1797)

pull/1801/head
Julianiolo 4 年之前
committed by GitHub
父節點
當前提交
cc4de1d1f9
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/core.c

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

@ -3548,7 +3548,7 @@ static bool InitGraphicsDevice(int width, int height)
CORE.Window.display.width = mode->width;
CORE.Window.display.height = mode->height;
// Screen size security check
// Set screen width/height to the display width/height if they are 0
if (CORE.Window.screen.width == 0) CORE.Window.screen.width = CORE.Window.display.width;
if (CORE.Window.screen.height == 0) CORE.Window.screen.height = CORE.Window.display.height;
#endif // PLATFORM_DESKTOP

Loading…
取消
儲存