Fix win and macos compilation errors

This commit is contained in:
dP
2021-04-03 03:25:38 +03:00
parent d238660219
commit ce4b4712fd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -843,7 +843,7 @@ void VideoDriver_Win32Base::InputLoop()
bool old_ctrl_pressed = _ctrl_pressed;
_ctrl_pressed = this->has_focus && GetAsyncKeyState(VK_CONTROL) < 0;
_alt_pressed = _wnd.has_focus && GetAsyncKeyState(VK_MENU) < 0;
_alt_pressed = this->has_focus && GetAsyncKeyState(VK_MENU) < 0;
_shift_pressed = this->has_focus && GetAsyncKeyState(VK_SHIFT) < 0;
#if defined(_DEBUG)