Fix super/meta modifier not being set

This commit is contained in:
falkTX 2021-10-27 02:45:12 +01:00
parent ae8e93a780
commit a5c42b5460

View file

@ -287,6 +287,8 @@ protected:
mods |= GLFW_MOD_SHIFT;
if (mod & kModifierAlt)
mods |= GLFW_MOD_ALT;
if (mod & kModifierSuper)
mods |= GLFW_MOD_SUPER;
/*
if (glfwGetKey(win, GLFW_KEY_LEFT_SHIFT) == GLFW_PRESS || glfwGetKey(win, GLFW_KEY_RIGHT_SHIFT) == GLFW_PRESS)