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:
Aksel Hjerpbakk 2021-09-18 00:46:26 +02:00 committed by GitHub
parent c3bdb99a14
commit c61bd4820f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;