]> git.lizzy.rs Git - shadowclad.git/blobdiff - src/game/input.c
Add prelude with UNUSED macro
[shadowclad.git] / src / game / input.c
index f52a27e79742ec4bff65c73279399096e4dc4b5f..089291a7c5dfb485d02d382b7da081863747d787 100644 (file)
@@ -2,9 +2,11 @@
 
 #include <GLFW/glfw3.h>
 
+#include "engine/_prelude.h"
+
 #include "player.h"
 
-void keyboardInput(int key, int scancode, int action, int mods) {
+void keyboardInput(int key, int scancode UNUSED, int action, int mods UNUSED) {
        switch (key) {
                case GLFW_KEY_W:
                        if (action == GLFW_PRESS) {