summaryrefslogtreecommitdiffhomepage
path: root/src/rcore_web.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcore_web.c')
-rw-r--r--src/rcore_web.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore_web.c b/src/rcore_web.c
index 261498a5..c0b7079b 100644
--- a/src/rcore_web.c
+++ b/src/rcore_web.c
@@ -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;
}