]> git.mxchange.org Git - simgear.git/commitdiff
don't assume that OSG 2.8.3 has PagedLOD options
authorTim Moore <timoore33@gmail.com>
Wed, 16 Feb 2011 15:46:24 +0000 (16:46 +0100)
committerTim Moore <timoore33@gmail.com>
Wed, 16 Feb 2011 15:47:33 +0000 (16:47 +0100)
I was confused by my git svn import of the OSG tree.

simgear/scene/model/SGPagedLOD.hxx

index a9e55d96f7d76034473fdbb4e6dbade13cf23a6c..61530de305ea6ff9e2f74ccc6bfd799fcdf49161 100644 (file)
@@ -20,8 +20,7 @@
 #include <simgear/structure/OSGVersion.hxx>
 
 #define SG_PAGEDLOD_HAS_OPTIONS \
-    (SG_OSG_VERSION >= 29005 \
-     || (SG_OSG_VERSION < 29000 && SG_OSG_VERSION >= 28003))
+    (SG_OSG_VERSION >= 29005)
 
 #include <osg/PagedLOD>
 #include <osgDB/Registry>