瀏覽代碼

Update rcore_ios.c

pull/3880/head
blueloveTH 1 年之前
父節點
當前提交
d10d888f22
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/platforms/rcore_ios.c

+ 2
- 2
src/platforms/rcore_ios.c 查看文件

@ -256,13 +256,13 @@ Vector2 GetMonitorPosition(int monitor)
// Get selected monitor width (currently used by monitor)
int GetMonitorWidth(int monitor)
{
return CORE.Window.display.width;
return CORE.Window.screen.width;
}
// Get selected monitor height (currently used by monitor)
int GetMonitorHeight(int monitor)
{
return CORE.Window.display.height;
return CORE.Window.screen.height;
}
// Get selected monitor physical width in millimetres

Loading…
取消
儲存