From Wang Rui, "I also did a small fix to the ObjectWrapper header, to add a

OSGDB_EXPORT macro to RegisterCompressorProxy, and modified the
findCompressor() method to look for custom compressors in libraries
such like osgdb_compressor_name.so, which was described in the wiki
page chapter 2.4."
This commit is contained in:
Robert Osfield
2010-02-04 10:20:17 +00:00
parent bdcddc10f8
commit 7103707815
2 changed files with 10 additions and 16 deletions

View File

@@ -139,7 +139,7 @@ protected:
typedef CLASS MyClass; \
void wrapper_propfunc_##NAME(osgDB::ObjectWrapper* wrapper)
class RegisterCompressorProxy
class OSGDB_EXPORT RegisterCompressorProxy
{
public:
RegisterCompressorProxy( const std::string& name, BaseCompressor* compressor );