Minor tweaks

This commit is contained in:
Ray
2023-10-14 10:56:09 +02:00
parent 2f08f435b9
commit 005ba155c0
3 changed files with 4 additions and 4 deletions

View File

@@ -1966,7 +1966,7 @@ static void MouseScrollCallback(GLFWwindow *window, double xoffset, double yoffs
// GLFW3 CursorEnter Callback, when cursor enters the window
static void CursorEnterCallback(GLFWwindow *window, int enter)
{
if (enter == true) CORE.Input.Mouse.cursorOnScreen = true;
if (enter) CORE.Input.Mouse.cursorOnScreen = true;
else CORE.Input.Mouse.cursorOnScreen = false;
}