Implement GetCurrentMonitor in rcore_desktop_sdl (#3431)

* Implemented GetCurrentMonitor

* remove traceloog in GetCurrentMonitor
This commit is contained in:
Dor Shapira 2023-10-17 10:53:53 +03:00 committed by GitHub
parent fab99b8309
commit af83764f4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,8 +356,7 @@ int GetMonitorCount(void)
// Get number of monitors // Get number of monitors
int GetCurrentMonitor(void) int GetCurrentMonitor(void)
{ {
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform"); return SDL_GetWindowDisplayIndex(platform.window);
return 0;
} }
// Get selected monitor position // Get selected monitor position