summaryrefslogtreecommitdiff
path: root/games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch
blob: aab70ba69b72686b6668e244d1e71625a89e0874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/main/main.cpp.orig	2003-04-11 14:42:29.000000000 +0100
+++ src/main/main.cpp	2006-07-06 19:37:55.000000000 +0100
@@ -9,6 +9,7 @@
 #include <math.h>
 
 #include <SDL.h>
+#include <GL/glut.h>
 #include "KikiController.h"
 
 // __________________________________________________________________________________________________
@@ -19,6 +20,8 @@
     int width, height;
     SDL_Surface * screen;
 
+	glutInit(&argc, argv);
+
     // initialize SDL
     if ( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_VIDEO) < 0 ) // SDL_INIT_TIMER
     {