Minor comment tweaks

This commit is contained in:
Ray
2021-04-06 13:04:15 +02:00
parent 0a34a35403
commit 551944e15b
3 changed files with 9 additions and 8 deletions

View File

@@ -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)