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