1
0
Fork 0

Check for the plib version when using display lists, just to be sure.

This commit is contained in:
ehofman 2004-10-10 19:06:32 +00:00
parent f61014c2ea
commit b7afe856c3

View file

@ -1005,7 +1005,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 );
#endif
terra_transform->ref();
terrain_branch->addKid( terra_transform );