Pārlūkot izejas kodu

Fix returns

pull/4525/head
asdqwe pirms 5 mēnešiem
vecāks
revīzija
ab79cdb2f7
6 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  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 Parādīt failu

@ -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 Parādīt failu

@ -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 Parādīt failu

@ -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 Parādīt failu

@ -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 Parādīt failu

@ -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 Parādīt failu

@ -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

Notiek ielāde…
Atcelt
Saglabāt