Przeglądaj źródła

Fix returns

pull/4525/head
asdqwe 6 miesięcy temu
rodzic
commit
ab79cdb2f7
6 zmienionych plików z 6 dodań i 6 usunięć
  1. +1
    -1
      src/platforms/rcore_android.c
  2. +1
    -1
      src/platforms/rcore_desktop_rgfw.c
  3. +1
    -1
      src/platforms/rcore_desktop_sdl.c
  4. +1
    -1
      src/platforms/rcore_drm.c
  5. +1
    -1
      src/platforms/rcore_template.c
  6. +1
    -1
      src/platforms/rcore_web.c

+ 1
- 1
src/platforms/rcore_android.c Wyświetl plik

@ -484,7 +484,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_desktop_rgfw.c Wyświetl plik

@ -633,7 +633,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_desktop_sdl.c Wyświetl plik

@ -1040,7 +1040,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_drm.c Wyświetl plik

@ -470,7 +470,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_template.c Wyświetl plik

@ -261,7 +261,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_web.c Wyświetl plik

@ -755,7 +755,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor)
{
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform");
return mi">0;
return p">(Vector2){ 1.0f, 1.0f };
}
// Get the human-readable, UTF-8 encoded name of the selected monitor

Ładowanie…
Anuluj
Zapisz