Minor tweaks
This commit is contained in:
parent
2f08f435b9
commit
005ba155c0
1 changed files with 4 additions and 4 deletions
|
|
@ -1336,7 +1336,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue