aboutsummaryrefslogtreecommitdiffstats
path: root/math/carve/files/patch-common_scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/carve/files/patch-common_scene.cpp')
-rw-r--r--math/carve/files/patch-common_scene.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/math/carve/files/patch-common_scene.cpp b/math/carve/files/patch-common_scene.cpp
index 4b1bdc8c498c..b90557ecb9a6 100644
--- a/math/carve/files/patch-common_scene.cpp
+++ b/math/carve/files/patch-common_scene.cpp
@@ -1,5 +1,14 @@
---- common/scene.cpp.orig 2011-12-01 12:05:53.000000000 +0100
-+++ common/scene.cpp 2011-12-01 12:05:22.000000000 +0100
+--- common/scene.cpp.orig 2011-08-26 22:17:26.000000000 +0200
++++ common/scene.cpp 2014-02-13 15:16:11.000000000 +0100
+@@ -31,7 +31,7 @@
+ static int lastbutton = 0;
+
+ static Scene *g_scene = NULL;
+-static int g_mainWindow = NULL;
++static int g_mainWindow = 0;
+ static GLUI *g_rightPanel = NULL;
+ static double near_plane = 0.2;
+ static double far_plane = 200;
@@ -412,7 +412,7 @@
GLUI_Master.set_glutKeyboardFunc(s_key);
GLUI_Master.set_glutSpecialFunc(NULL);