Update rcore_ios.c

This commit is contained in:
blueloveTH 2024-03-28 10:52:58 +08:00
parent b69cee5739
commit 524181918e

View File

@ -256,13 +256,13 @@ Vector2 GetMonitorPosition(int monitor)
// Get selected monitor width (currently used by monitor) // Get selected monitor width (currently used by monitor)
int GetMonitorWidth(int monitor) int GetMonitorWidth(int monitor)
{ {
return CORE.Window.screen.width; return CORE.Window.display.width;
} }
// Get selected monitor height (currently used by monitor) // Get selected monitor height (currently used by monitor)
int GetMonitorHeight(int monitor) int GetMonitorHeight(int monitor)
{ {
return CORE.Window.screen.height; return CORE.Window.display.height;
} }
// Get selected monitor physical width in millimetres // Get selected monitor physical width in millimetres