Browse Source

Fix returns

pull/4525/head
asdqwe 5 months ago
parent
commit
ab79cdb2f7
6 changed files with 6 additions and 6 deletions
  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 View File

@ -484,7 +484,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_desktop_rgfw.c View File

@ -633,7 +633,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_desktop_sdl.c View File

@ -1040,7 +1040,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_drm.c View File

@ -470,7 +470,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_template.c View File

@ -261,7 +261,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

+ 1
- 1
src/platforms/rcore_web.c View File

@ -755,7 +755,7 @@ int GetMonitorRefreshRate(int monitor)
Vector2 GetMonitorScale(int monitor) Vector2 GetMonitorScale(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorScale() not implemented on target platform"); 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 // Get the human-readable, UTF-8 encoded name of the selected monitor

Loading…
Cancel
Save