freebsd-ports/games/atr3d/files/patch-main.cpp
Pietro Cerutti 97a551d5d0 - STAGE-clean
- Fix segfault
2014-02-05 09:26:34 +00:00

13 lines
309 B
C++

--- 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);