mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-02 07:58:31 +00:00
Minor comment tweaks
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user