mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Fixed use of previous member name.
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user