Implemented GetCurrentMonitor

This commit is contained in:
דור שפירא 2023-10-17 00:04:50 +03:00
parent fab99b8309
commit a571563b7b

View File

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