This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Fix GetCurrentMonitor comments.
pull/4812/head
Kaluub
1 month ago
parent
f1385f3aec
commit
c7efac920c
7 changed files
with
7 additions
and
7 deletions
Split View
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
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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…
Cancel
Save