Small tweaks to various SDL implementation 2
This commit is contained in:
parent
df760002b7
commit
695a05fcfe
|
|
@ -687,7 +687,11 @@ int GetMonitorCount(void)
|
||||||
// Get number of monitors
|
// Get number of monitors
|
||||||
int GetCurrentMonitor(void)
|
int GetCurrentMonitor(void)
|
||||||
{
|
{
|
||||||
return SDL_GetWindowDisplayIndex(platform.window);
|
int currentMonitor = 0;
|
||||||
|
|
||||||
|
currentMonitor = SDL_GetWindowDisplayIndex(platform.window);
|
||||||
|
|
||||||
|
return currentMonitor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get selected monitor position
|
// Get selected monitor position
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user