summaryrefslogtreecommitdiff
path: root/graphics/ogre3d/files/patch-Ogre.i
blob: eb89e0743ab02e4e5b9dd8f050d682e4bd892863 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- OgreMain/include/Ogre.i.orig	2019-03-30 12:47:36 UTC
+++ OgreMain/include/Ogre.i
@@ -386,7 +386,7 @@ SHARED_PTR(HardwareUniformBuffer);
 %ignore Ogre::ResourceGroupManager::openResource(const String&, const String&, bool, Resource*) const;
 %ignore Ogre::ResourceGroupManager::openResource(const String&, const String&, bool) const;
 %include "OgreResourceGroupManager.h"
-#if SWIG_VERSION < 0x030012 || defined(SWIGJAVA)
+#if SWIG_VERSION <= 0x030012 || defined(SWIGJAVA)
 // conflicts with overloaded versions (GpuProgram, Texture)
 %ignore Ogre::ResourceManager::getResourceByName;
 %ignore Ogre::ResourceManager::createOrRetrieve;