From c4a42a3ad31fa749e9e18c3c742721c3413ee1a7 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 6 Apr 2024 23:19:47 +0800 Subject: [PATCH] Update rcore_android.c --- src/platforms/rcore_android.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/platforms/rcore_android.c b/src/platforms/rcore_android.c index 23b8f4369563..6ee7b5d5c548 100644 --- a/src/platforms/rcore_android.c +++ b/src/platforms/rcore_android.c @@ -426,36 +426,31 @@ void *GetWindowHandle(void) // Get number of monitors int GetMonitorCount(void) { - TRACELOG(LOG_WARNING, "GetMonitorCount() not implemented on target platform"); return 1; } // Get number of monitors int GetCurrentMonitor(void) { - TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform"); return 0; } // Get selected monitor position Vector2 GetMonitorPosition(int monitor) { - TRACELOG(LOG_WARNING, "GetMonitorPosition() not implemented on target platform"); return (Vector2){ 0, 0 }; } // Get selected monitor width (currently used by monitor) int GetMonitorWidth(int monitor) { - TRACELOG(LOG_WARNING, "GetMonitorWidth() not implemented on target platform"); - return 0; + return CORE.Window.screen.width; } // Get selected monitor height (currently used by monitor) int GetMonitorHeight(int monitor) { - TRACELOG(LOG_WARNING, "GetMonitorHeight() not implemented on target platform"); - return 0; + return CORE.Window.screen.height; } // Get selected monitor physical width in millimetres