Minor comment tweaks
This commit is contained in:
parent
0a34a35403
commit
551944e15b
1 changed files with 9 additions and 8 deletions
|
|
@ -1051,7 +1051,8 @@ void ToggleFullscreen(void)
|
|||
GLFWmonitor** monitors = glfwGetMonitors(&monitorCount);
|
||||
|
||||
int monitorIndex = GetCurrentMonitor();
|
||||
// use GetCurrentMonitor so we correctly get the display the window is on
|
||||
|
||||
// Use current monitor, so we correctly get the display the window is on
|
||||
GLFWmonitor* monitor = monitorIndex < monitorCount ? monitors[monitorIndex] : NULL;
|
||||
|
||||
if (!monitor)
|
||||
|
|
|
|||
Loading…
Reference in a new issue