mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
osgDB::ObjectCache was added in 3.3.3, not 3.4.0
Fixes redefinition error on builds with OSG >3.3.3 <3.4.0
This commit is contained in:
parent
2162f21550
commit
0efb8e2949
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include <osg/Version>
|
#include <osg/Version>
|
||||||
|
|
||||||
#if OSG_VERSION_LESS_THAN(3,4,0)
|
#if OSG_VERSION_LESS_THAN(3,3,3)
|
||||||
|
|
||||||
#include "objectcache.hpp"
|
#include "objectcache.hpp"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <osg/Version>
|
#include <osg/Version>
|
||||||
|
|
||||||
#if OSG_VERSION_GREATER_OR_EQUAL(3,4,0)
|
#if OSG_VERSION_GREATER_OR_EQUAL(3,3,3)
|
||||||
#include <osgDB/ObjectCache>
|
#include <osgDB/ObjectCache>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue