Bläddra i källkod

Fix GetCurrentMonitor comments. (#4812)

pull/4823/head
Kaluub 1 månad sedan
committed by GitHub
förälder
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
  1. +1
    -1
      src/platforms/rcore_android.c
  2. +1
    -1
      src/platforms/rcore_desktop_glfw.c
  3. +1
    -1
      src/platforms/rcore_desktop_rgfw.c
  4. +1
    -1
      src/platforms/rcore_desktop_sdl.c
  5. +1
    -1
      src/platforms/rcore_drm.c
  6. +1
    -1
      src/platforms/rcore_template.c
  7. +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");

Laddar…
Avbryt
Spara