From: ehofman Date: Sun, 17 Oct 2004 17:23:19 +0000 (+0000) Subject: Frederic Bouvier: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f6466d6f1d622457eb38e1c0e54b2ed1448be0e;p=flightgear.git Frederic Bouvier: This is a patch to make display list usage optional. They are on by default. Use --prop:/sim/rendering/use-display-list=false to use immediate mode. There is also a change in exception handling in main.cxx and bootstrap.cxx --- diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index be3026ec4..3ccf0e79d 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -1006,7 +1006,9 @@ FGTileEntry::add_ssg_nodes( ssgBranch *terrain_branch, // bump up the ref count so we can remove this later without // having ssg try to free the memory. #if PLIB_VERSION > 183 - makeDList( terra_transform ); + if ( fgGetBool( "/sim/rendering/use-display-list", true ) ) { + makeDList( terra_transform ); + } #endif terra_transform->ref();