summary refs log blame commit diff
path: root/pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
blob: 4daea4c53a28c63acc13994e60fb4231035396c6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                   
--- crack-attack-1.1.14/src/Attack.cxx
+++ crack-attack-1.1.14/src/Attack.cxx
@@ -83,6 +83,7 @@
   int height = -1, width = -1;
   
   player_name[0] = '\0';
+  glutInit(&argc, argv);
   parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
   run_crack_attack(mode, port, host_name, player_name, height, width);