X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgame.c;fp=src%2Fgame.c;h=e11543ff188613e1e0646b7c21359e063df80c68;hb=974e63caa567fb56d5fa08ead1ffd7282fb910fd;hp=7b33ee248a62ac88ead657969fb7b8fbb246f95e;hpb=ed53cdd30c05b7b3f8d0ba6ef2b0668f37d90119;p=deeprace diff --git a/src/game.c b/src/game.c index 7b33ee2..e11543f 100644 --- a/src/game.c +++ b/src/game.c @@ -3,6 +3,7 @@ #include #include #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);