diff options
| author | Ray <[email protected]> | 2021-04-06 13:04:15 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-06 13:04:15 +0200 |
| commit | 551944e15b15f8efce70e7da393755a180c50892 (patch) | |
| tree | d9ca3b43b84d8d9760f51d5e21e8dddf7711cad9 /src/core.c | |
| parent | 0a34a35403fdb3715a52137d819c769148826f58 (diff) | |
| download | raylib-551944e15b15f8efce70e7da393755a180c50892.tar.gz raylib-551944e15b15f8efce70e7da393755a180c50892.zip | |
Minor comment tweaks
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 3 |
1 files changed, 2 insertions, 1 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) |
