#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#include "opengl.h"
#include "miniglut.h"
#include "game.h"
glutMotionFunc(motion);
glutPassiveMotionFunc(motion);
+ if(init_opengl() == -1) {
+ return 1;
+ }
+
#if defined(__unix__) || defined(unix)
xdpy = glXGetCurrentDisplay();
xwin = glXGetCurrentDrawable();