test input
[deeprace] / src / game.c
index 7b33ee2..e11543f 100644 (file)
@@ -3,6 +3,7 @@
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include "game.h"
+#include "input.h"
 
 int mouse_x, mouse_y, mouse_state[3];
 int win_width, win_height;
@@ -40,6 +41,8 @@ int game_init(void)
                game_chscr(&scr_game);  /* TODO: scr_menu */
        }
 
+       init_input();
+
        glClearColor(0.1, 0.1, 0.1, 1);
        glEnable(GL_DEPTH_TEST);
        glEnable(GL_CULL_FACE);