mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Implement GetCurrentMonitor in rcore_desktop_sdl (#3431)
* Implemented GetCurrentMonitor * remove traceloog in GetCurrentMonitor
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user