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:
parent
f614545fc5
commit
7f6466d6f1
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue