]> git.mxchange.org Git - flightgear.git/commitdiff
Ssg tweaks.
authorcurt <curt>
Wed, 30 Jun 1999 00:25:13 +0000 (00:25 +0000)
committercurt <curt>
Wed, 30 Jun 1999 00:25:13 +0000 (00:25 +0000)
src/Main/3dfx.sh
src/Main/main.cxx

index 0e7b718be40046674a269e270c8cf0a50b905a0e..ec61f49bea05c7e229701abf844eb623fd1e1f4a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ $1 = "--full" ]; then
+if [ "x$1" = "x--full" ]; then
     echo "Running full screen ..."
     shift
     WINDOW=NO
index a072216fec2d28d47b07c043e931d9fdf4ce9f96..19d796e1bf1c82784f9d92e6afe1648f675cb0aa 100644 (file)
@@ -378,7 +378,7 @@ static void fgRenderFrame( void ) {
            // xglMaterialfv (GL_FRONT, GL_DIFFUSE, white);
        }
 
-       global_tile_mgr.render();
+       // global_tile_mgr.render();
 
        // ssg test
 
@@ -425,7 +425,8 @@ static void fgRenderFrame( void ) {
        sgMat4 sgVIEW;
        sgMultMat4( sgVIEW, current_view.sgVIEW, sgTRANS );
        ssgSetCamera( sgVIEW );
-       // ssgSetCamera( current_view.sgVIEW );
+
+       global_tile_mgr.prep_ssg_nodes();
        ssgCullAndDraw( scene );
 
        xglDisable( GL_TEXTURE_2D );