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 ff49e34c6c
commit 72d6debb35

View file

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