mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-29 03:26:38 +00:00 
			
		
		
		
	Plugins are frameworks in Ogre 1.9. Version hack removed.
This commit is contained in:
		
							parent
							
								
									6f64b1b9db
								
							
						
					
					
						commit
						25cd9ebf45
					
				
					 1 changed files with 1 additions and 7 deletions
				
			
		|  | @ -6,18 +6,12 @@ | |||
| namespace Files { | ||||
| 
 | ||||
| bool loadOgrePlugin(const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot) { | ||||
| #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE | ||||
| 	std::ostringstream verStream; | ||||
| 	verStream << "." << OGRE_VERSION_MAJOR << "." << OGRE_VERSION_MINOR << "." << OGRE_VERSION_PATCH; | ||||
| 	pluginName = pluginName + verStream.str(); | ||||
| #endif | ||||
| 
 | ||||
| 	std::string pluginExt; | ||||
| #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 | ||||
|     pluginExt = ".dll"; | ||||
| #endif | ||||
| #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE | ||||
|     pluginExt = ".dylib"; | ||||
|     pluginExt = ".framework"; | ||||
| #endif | ||||
| #if OGRE_PLATFORM == OGRE_PLATFORM_LINUX | ||||
|     pluginExt = ".so"; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue