summaryrefslogtreecommitdiff
blob: b61e1f139b044ebdf561703944bb05f8eec3f3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <GL/glut.h>
 #include "SDL/SDL.h"
 #include "SDL/SDL_mixer.h"
 
@@ -144,6 +145,7 @@
     bool quit = false;
 
 	load_configuration();
+	glutInit(&argc, argv);
 
 	screen_sfc = initialization((fullscreen ? SDL_FULLSCREEN : 0));
 	if (screen_sfc==0) return 0;