fix Window.zig

This commit is contained in:
Lorenzo Torres 2025-03-28 19:58:39 +01:00
parent 669b8e5fee
commit 3bd394d6bc

View file

@ -76,7 +76,6 @@ pub fn destroy(self: Window) void {
pub fn keyCallback(window: ?*c.GLFWwindow, key: c_int, scancode: c_int, action: c_int, mods: c_int) callconv(.c) void {
_ = scancode;
_ = mods;
std.debug.print("test {d}\n", .{key});
if (c.glfwGetWindowUserPointer(window)) |r| {
const resources: *ecs.Resources = @alignCast(@ptrCast(r));
if (action == c.GLFW_PRESS) {