fixed crash when passing the -screen argument, due to trying to free the
[vrtris] / src / game.c
index 00f81cc..a729996 100644 (file)
@@ -7,10 +7,12 @@
 #include "osd.h"
 #include "opt.h"
 
+#define DEFSCR "game"
+
 static void calc_framerate(void);
 static void print_framerate(void);
 
-static float view_matrix[16], proj_matrix[16];
+float view_matrix[16], proj_matrix[16];
 static int should_swap;
 static unsigned long framerate;
 
@@ -37,6 +39,7 @@ int game_init(int argc, char **argv)
                goatvr_startvr();
                should_swap = goatvr_should_swap();
        }
+
        return 0;
 }