本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
24
Wiki
活動
瀏覽代碼
Fix GetCurrentMonitor comments.
pull/4812/head
Kaluub
1 月之前
父節點
f1385f3aec
當前提交
c7efac920c
共有
7 個檔案被更改
,包括
7 行新增
和
7 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/platforms/rcore_android.c
+1
-1
src/platforms/rcore_desktop_glfw.c
+1
-1
src/platforms/rcore_desktop_rgfw.c
+1
-1
src/platforms/rcore_desktop_sdl.c
+1
-1
src/platforms/rcore_drm.c
+1
-1
src/platforms/rcore_template.c
+1
-1
src/platforms/rcore_web.c
+ 1
- 1
src/platforms/rcore_android.c
查看文件
@ -431,7 +431,7 @@ int GetMonitorCount(void)
return
1
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
TRACELOG
(
LOG_WARNING
,
"
GetCurrentMonitor() not implemented on target platform
"
)
;
+ 1
- 1
src/platforms/rcore_desktop_glfw.c
查看文件
@ -736,7 +736,7 @@ int GetMonitorCount(void)
return
monitorCount
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
int
index
=
0
;
+ 1
- 1
src/platforms/rcore_desktop_rgfw.c
查看文件
@ -651,7 +651,7 @@ int GetMonitorCount(void)
return
count
;
}
// Get
number of monitors
// Get
current monitor where window is placed
int
GetCurrentMonitor
(
void
)
{
RGFW_monitor
*
mons
=
RGFW_getMonitors
(
)
;
+ 1
- 1
src/platforms/rcore_desktop_sdl.c
查看文件
@ -914,7 +914,7 @@ int GetMonitorCount(void)
return
monitorCount
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
int
currentMonitor
=
0
;
+ 1
- 1
src/platforms/rcore_drm.c
查看文件
@ -371,7 +371,7 @@ int GetMonitorCount(void)
return
1
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
TRACELOG
(
LOG_WARNING
,
"
GetCurrentMonitor() not implemented on target platform
"
)
;
+ 1
- 1
src/platforms/rcore_template.c
查看文件
@ -208,7 +208,7 @@ int GetMonitorCount(void)
return
1
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
TRACELOG
(
LOG_WARNING
,
"
GetCurrentMonitor() not implemented on target platform
"
)
;
+ 1
- 1
src/platforms/rcore_web.c
查看文件
@ -709,7 +709,7 @@ int GetMonitorCount(void)
return
1
;
}
/
/
Get
number
of
monitors
/
/
Get
current
monitor
where
window
is
placed
int
GetCurrentMonitor
(
void
)
{
TRACELOG
(
LOG_WARNING
,
"
GetCurrentMonitor() not implemented on target platform
"
)
;
Write
Preview
Loading…
取消
儲存