mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Fixed use of previous member name.
This commit is contained in:
parent
8ac54e8b14
commit
a7b9deb2ca
|
@ -624,7 +624,7 @@ static int translateKey(unsigned int key)
|
||||||
|
|
||||||
if (modifierFlags == window->ns.modifierFlags)
|
if (modifierFlags == window->ns.modifierFlags)
|
||||||
{
|
{
|
||||||
if (window->key[key] == GLFW_PRESS)
|
if (window->keys[key] == GLFW_PRESS)
|
||||||
action = GLFW_RELEASE;
|
action = GLFW_RELEASE;
|
||||||
else
|
else
|
||||||
action = GLFW_PRESS;
|
action = GLFW_PRESS;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user