diff options
Diffstat (limited to 'src/output.zig')
| -rw-r--r-- | src/output.zig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output.zig b/src/output.zig index 2aa6802..f4c33d7 100644 --- a/src/output.zig +++ b/src/output.zig @@ -125,6 +125,11 @@ pub const WindowOutput = struct { const userptr = c.glfwGetWindowUserPointer(win).?; const self = @ptrCast(*WindowOutput, @alignCast(@alignOf(WindowOutput), userptr)); + _ = self; + _ = scancode; + _ = action; + _ = mods; + switch (key) { // c.GLFW_KEY_F => // toggle fullscreen // c.GLFW_KEY_LEFT => // cycle through monitors @@ -137,5 +142,8 @@ pub const WindowOutput = struct { const userptr = c.glfwGetWindowUserPointer(win).?; const self = @ptrCast(*WindowOutput, @alignCast(@alignOf(WindowOutput), userptr)); self.resized = true; + + _ = width; + _ = height; } }; |
