From 91914b728b6c07c27cab72f4f1ff7c93322b72cc Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 12 Apr 2020 11:02:28 +0300 Subject: [PATCH] - fixed compilation of Cocoa backend --- src/posix/cocoa/i_input.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/posix/cocoa/i_input.mm b/src/posix/cocoa/i_input.mm index 6b1991e8cf..20725fbda0 100644 --- a/src/posix/cocoa/i_input.mm +++ b/src/posix/cocoa/i_input.mm @@ -35,6 +35,7 @@ #import +#include "c_buttons.h" #include "c_console.h" #include "c_cvars.h" #include "c_dispatch.h" @@ -90,7 +91,7 @@ void CheckGUICapture() { GUICapture = wantCapture; - ResetButtonStates(); + buttonMap.ResetButtonStates(); } }