Small tweaks to various SDL implementation 2

This commit is contained in:
ubkp 2023-10-20 01:25:09 -03:00
parent df760002b7
commit 695a05fcfe

View File

@ -687,7 +687,11 @@ int GetMonitorCount(void)
// Get number of monitors
int GetCurrentMonitor(void)
{
return SDL_GetWindowDisplayIndex(platform.window);
int currentMonitor = 0;
currentMonitor = SDL_GetWindowDisplayIndex(platform.window);
return currentMonitor;
}
// Get selected monitor position