使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Archivist
/
raylib-src
镜像自地址
https://github.com/raysan5/raylib
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
24
百科
动态
浏览代码
GetCurrentMonitor() bugfix (
#3058
)
* GetCurrentMonitor() bugfix * GetCurrentMonitor() bugfix
pull/3066/head
hamyy
2 年前
committed by
GitHub
父节点
818312683e
当前提交
26a3536958
找不到此签名对应的密钥
GPG 密钥 ID:
4AEE18F83AFDEB23
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
合并视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
;
撰写
预览
正在加载...
取消
保存