diff options
| author | mohad12211 <[email protected]> | 2023-08-07 21:51:36 +0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-07 19:51:36 +0200 |
| commit | db55bed72b45c97616f0cfaf26448475f80174d5 (patch) | |
| tree | 7d31b58cb36e1b97da9fcd702bf99a00edf3b0df /src | |
| parent | c9864d8ac1345819ce5520da578f96dffae4e967 (diff) | |
| download | raylib-db55bed72b45c97616f0cfaf26448475f80174d5.tar.gz raylib-db55bed72b45c97616f0cfaf26448475f80174d5.zip | |
fix: check if ctrl modifier is among the currently set modifiers (#3230)
Diffstat (limited to 'src')
| -rw-r--r-- | src/rcore.c | 2 |
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) { |
