fix key.press being set to release (#27)
A very minor fix to correct key.press being set to GLFW_RELEASE instead of GLFW_PRESS
This commit is contained in:
parent
ff49e34c6c
commit
72d6debb35
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const c = @import("c.zig").c;
|
|||
pub const release = c.GLFW_RELEASE;
|
||||
|
||||
/// The key or mouse button was pressed.
|
||||
pub const press = c.GLFW_RELEASE;
|
||||
pub const press = c.GLFW_PRESS;
|
||||
|
||||
/// The key was held down until it repeated.
|
||||
pub const repeat = c.GLFW_REPEAT;
|
||||
|
|
Loading…
Add table
Reference in a new issue