Update rcore_android.c

This commit is contained in:
blueloveTH 2024-04-06 23:19:47 +08:00
parent c5c41f9e47
commit c4a42a3ad3

View File

@ -426,36 +426,31 @@ void *GetWindowHandle(void)
// Get number of monitors // Get number of monitors
int GetMonitorCount(void) int GetMonitorCount(void)
{ {
TRACELOG(LOG_WARNING, "GetMonitorCount() not implemented on target platform");
return 1; return 1;
} }
// Get number of monitors // Get number of monitors
int GetCurrentMonitor(void) int GetCurrentMonitor(void)
{ {
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");
return 0; return 0;
} }
// Get selected monitor position // Get selected monitor position
Vector2 GetMonitorPosition(int monitor) Vector2 GetMonitorPosition(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorPosition() not implemented on target platform");
return (Vector2){ 0, 0 }; return (Vector2){ 0, 0 };
} }
// Get selected monitor width (currently used by monitor) // Get selected monitor width (currently used by monitor)
int GetMonitorWidth(int monitor) int GetMonitorWidth(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorWidth() not implemented on target platform"); return CORE.Window.screen.width;
return 0;
} }
// Get selected monitor height (currently used by monitor) // Get selected monitor height (currently used by monitor)
int GetMonitorHeight(int monitor) int GetMonitorHeight(int monitor)
{ {
TRACELOG(LOG_WARNING, "GetMonitorHeight() not implemented on target platform"); return CORE.Window.screen.height;
return 0;
} }
// Get selected monitor physical width in millimetres // Get selected monitor physical width in millimetres