1
0
Fork 0

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
This commit is contained in:
ehofman 2004-10-17 17:23:19 +00:00
parent f614545fc5
commit 7f6466d6f1

View file

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