Bladeren bron

Fix returns

pull/4525/head
asdqwe 6 maanden geleden
bovenliggende
commit
ab79cdb2f7
6 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  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 Bestand weergeven

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

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

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

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

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

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

Laden…
Annuleren
Opslaan