Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
Archivist
/
raylib-src
spegling av
https://github.com/raysan5/raylib
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Släpp
24
Wiki
Aktiviteter
Bläddra i källkod
Fix GetCurrentMonitor comments. (
#4812
)
pull/4823/head
Kaluub
1 månad sedan
committed by
GitHub
förälder
f1385f3aec
incheckning
9ba0cdbe6d
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID:
B5690EEEBB952194
7 ändrade filer
med
7 tillägg
och
7 borttagningar
Delad Vy
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
Visa fil
@ -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
Visa fil
@ -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
Visa fil
@ -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
Visa fil
@ -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
Visa fil
@ -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
Visa fil
@ -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
Visa fil
@ -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
"
)
;
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara