summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index ae833b2b..8411c10e 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1222,7 +1222,7 @@ void ClearWindowState(unsigned int flags)
if (((CORE.Window.flags & FLAG_VSYNC_HINT) > 0) && ((flags & FLAG_VSYNC_HINT) > 0))
{
glfwSwapInterval(0);
- CORE.Window.flags ^= ~FLAG_VSYNC_HINT;
+ CORE.Window.flags &= ~FLAG_VSYNC_HINT;
}
// State change: FLAG_FULLSCREEN_MODE