Skip to content

Commit

Permalink
Update rcore_android.c
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Apr 6, 2024
1 parent c5c41f9 commit c4a42a3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/platforms/rcore_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4a42a3

Please sign in to comment.