multithreaded render
[cyberay] / src / main.c
index d49c311..d2240e0 100644 (file)
@@ -3,6 +3,7 @@
 #include <assert.h>
 #include <cgmath/cgmath.h>
 #include "miniglut.h"
+#include "game.h"
 #include "level.h"
 #include "rt.h"
 
@@ -63,8 +64,6 @@ static int keymap[NUM_INPUTS][2] = {
        {' ', 0}
 };
 
-static struct level lvl;
-
 static unsigned int tex;
 static int tex_width, tex_height;
 static int tex_intfmt;