Renamed control modifier bit to match key token.

This commit is contained in:
Camilla Berglund
2013-05-23 14:11:05 +02:00
parent 47b06e1fdc
commit 3bcffba24a
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ static int getKeyMods(void)
if (GetKeyState(VK_SHIFT) & (1 << 31))
mods |= GLFW_MOD_SHIFT;
if (GetKeyState(VK_CONTROL) & (1 << 31))
mods |= GLFW_MOD_CTRL;
mods |= GLFW_MOD_CONTROL;
if (GetKeyState(VK_MENU) & (1 << 31))
mods |= GLFW_MOD_ALT;
@@ -129,7 +129,7 @@ static int getAsyncKeyMods(void)
if (GetAsyncKeyState(VK_SHIFT) & (1 << 31))
mods |= GLFW_MOD_SHIFT;
if (GetAsyncKeyState(VK_CONTROL) & (1 << 31))
mods |= GLFW_MOD_CTRL;
mods |= GLFW_MOD_CONTROL;
if (GetAsyncKeyState(VK_MENU) & (1 << 31))
mods |= GLFW_MOD_ALT;