Added use of REGISTER_OGRPLUGIN to enable static linking of plugins
This commit is contained in:
@@ -804,4 +804,4 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter
|
||||
|
||||
// now register with Registry to instantiate the above
|
||||
// reader/writer.
|
||||
osgDB::RegisterReaderWriterProxy<ReaderWriterGDAL> g_readerWriter_GDAL_Proxy;
|
||||
REGISTER_OSGPLUGIN(gdal, ReaderWriterGDAL)
|
||||
|
||||
Reference in New Issue
Block a user