mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00: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 (window->key[key] == GLFW_PRESS)
|
||||
if (window->keys[key] == GLFW_PRESS)
|
||||
action = GLFW_RELEASE;
|
||||
else
|
||||
action = GLFW_PRESS;
|
||||
|
Loading…
Reference in New Issue
Block a user