本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
24
Wiki
活動
瀏覽代碼
GetCurrentMonitor() bugfix (
#3058
)
* GetCurrentMonitor() bugfix * GetCurrentMonitor() bugfix
pull/3066/head
hamyy
2 年之前
committed by
GitHub
父節點
818312683e
當前提交
26a3536958
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID:
4AEE18F83AFDEB23
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
統一視圖
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/rcore.c
+ 1
- 1
src/rcore.c
查看文件
@ -1785,7 +1785,7 @@ int GetCurrentMonitor(void)
monitor
=
monitors
[
i
]
;
monitor
=
monitors
[
i
]
;
glfwGetMonitorWorkarea
(
monitor
,
&
mx
,
&
my
,
&
width
,
&
height
)
;
glfwGetMonitorWorkarea
(
monitor
,
&
mx
,
&
my
,
&
width
,
&
height
)
;
if
(
x
>
=
mx
&
&
x
<
=
(
mx
+
width
)
&
&
y
>
=
my
&
&
y
<
=
(
my
+
height
)
)
if
(
x
>
=
mx
&
&
x
<
(
mx
+
width
)
&
&
y
>
=
my
&
&
y
<
(
my
+
height
)
)
{
{
index
=
i
;
index
=
i
;
break
;
break
;
Write
Preview
Loading…
取消
儲存