summaryrefslogtreecommitdiff
blob: 430d4e742f317a56a60f52b2735bbd18955260b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fix from upstream to work with newer freegluts.

http://bugs.gentoo.org/97954

--- a/src/Attack.cxx
+++ b/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);