Przeglądaj źródła

Fix GetCurrentMonitor comments. (#4812)

pull/4823/head
Kaluub 2 miesięcy temu
committed by GitHub
rodzic
commit
9ba0cdbe6d
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
7 zmienionych plików z 7 dodań i 7 usunięć
  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 Wyświetl plik

@ -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 Wyświetl plik

@ -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 Wyświetl plik

@ -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 Wyświetl plik

@ -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 Wyświetl plik

@ -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 Wyświetl plik

@ -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 Wyświetl plik

@ -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");

Ładowanie…
Anuluj
Zapisz