Skip to content

Commit

Permalink
Update rcore_ios.c
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Mar 28, 2024
1 parent b69cee5 commit 5241819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/rcore_ios.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,13 @@ Vector2 GetMonitorPosition(int monitor)
// Get selected monitor width (currently used by monitor)
int GetMonitorWidth(int monitor)
{
return CORE.Window.screen.width;
return CORE.Window.display.width;
}

// Get selected monitor height (currently used by monitor)
int GetMonitorHeight(int monitor)
{
return CORE.Window.screen.height;
return CORE.Window.display.height;
}

// Get selected monitor physical width in millimetres
Expand Down

0 comments on commit 5241819

Please sign in to comment.