diff options
Diffstat (limited to 'games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch')
-rw-r--r-- | games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch b/games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch new file mode 100644 index 000000000000..aab70ba69b72 --- /dev/null +++ b/games-puzzle/kiki/files/kiki-1.0.2-freeglut.patch @@ -0,0 +1,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
+ {
|