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
c3bdb99a14
commit
c61bd4820f
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;
|
pub const release = c.GLFW_RELEASE;
|
||||||
|
|
||||||
/// The key or mouse button was pressed.
|
/// 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.
|
/// The key was held down until it repeated.
|
||||||
pub const repeat = c.GLFW_REPEAT;
|
pub const repeat = c.GLFW_REPEAT;
|
||||||
|
|
Loading…
Add table
Reference in a new issue