summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 732cc7e4..97d010a9 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -5609,7 +5609,7 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i
if ((key == GLFW_KEY_F12) && (action == GLFW_PRESS))
{
#if defined(SUPPORT_GIF_RECORDING)
- if (mods == GLFW_MOD_CONTROL)
+ if (mods & GLFW_MOD_CONTROL)
{
if (gifRecording)
{