Skip to content

Commit 5241819

Browse files
committed
Update rcore_ios.c
1 parent b69cee5 commit 5241819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/rcore_ios.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,13 @@ Vector2 GetMonitorPosition(int monitor)
256256
// Get selected monitor width (currently used by monitor)
257257
int GetMonitorWidth(int monitor)
258258
{
259-
return CORE.Window.screen.width;
259+
return CORE.Window.display.width;
260260
}
261261

262262
// Get selected monitor height (currently used by monitor)
263263
int GetMonitorHeight(int monitor)
264264
{
265-
return CORE.Window.screen.height;
265+
return CORE.Window.display.height;
266266
}
267267

268268
// Get selected monitor physical width in millimetres

0 commit comments

Comments
 (0)