Implement GetCurrentMonitor in rcore_desktop_sdl (#3431)
* Implemented GetCurrentMonitor * remove traceloog in GetCurrentMonitor
This commit is contained in:
parent
fab99b8309
commit
af83764f4f
1 changed files with 1 additions and 2 deletions
|
@ -356,8 +356,7 @@ int GetMonitorCount(void)
|
|||
// Get number of monitors
|
||||
int GetCurrentMonitor(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");
|
||||
return 0;
|
||||
return SDL_GetWindowDisplayIndex(platform.window);
|
||||
}
|
||||
|
||||
// Get selected monitor position
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue