]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/scenery.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Scenery / scenery.cxx
index 2c0bf3f0d74227fcd89034533d6565a16593b36a..b5a4406f0abf62202f4ba5539a6f6bcc0dbef6bb 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 #include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include <GL/gl.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -46,8 +46,9 @@ struct fgSCENERY scenery;
 
 // Initialize the Scenery Management system
 int fgSceneryInit( void ) {
-    FG_LOG( FG_TERRAIN, FG_INFO, "Initializing scenery subsystem" );
+    SG_LOG( SG_TERRAIN, SG_INFO, "Initializing scenery subsystem" );
 
+    scenery.center = Point3D(0.0);
     scenery.cur_elev = -9999;
 
     return 1;