aboutsummaryrefslogtreecommitdiff
path: root/games/atr3d/files/patch-main.cpp
blob: 94f740ba9312e94ee8d8b9b9db8fcbadec547f3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- main.cpp.orig	2014-02-05 10:21:41.000000000 +0100
+++ main.cpp	2014-02-05 10:22:16.000000000 +0100
@@ -58,6 +58,10 @@
 
   initsound(&argc, argv);
 
+  /* initialize glut here, so we have 
+   * access to argv and argc */
+  glutInit (&argc, argv);
+
   DoInitializations();
 
   playsound(NewLifeSound);