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)
|
||||
|
||||
@@ -1248,8 +1248,7 @@ public:
|
||||
|
||||
// now register with Registry to instantiate the above
|
||||
// reader/writer.
|
||||
|
||||
osgDB::RegisterReaderWriterProxy<ReaderWriterImageIO> g_readerWriter_ImageIO_Proxy;
|
||||
REGISTER_OSGPLUGIN(imagio, ReaderWriterImageIO)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -446,4 +446,4 @@ public:
|
||||
|
||||
// now register with Registry to instantiate the above
|
||||
// reader/writer.
|
||||
osgDB::RegisterReaderWriterProxy<ReaderWriterOGR> g_readerWriter_OGR_Proxy;
|
||||
REGISTER_OSGPLUGIN(ogr, ReaderWriterOGR)
|
||||
|
||||
@@ -372,5 +372,5 @@ class ReaderWriterVNC : public osgDB::ReaderWriter
|
||||
|
||||
// now register with Registry to instantiate the above
|
||||
// reader/writer.
|
||||
osgDB::RegisterReaderWriterProxy<ReaderWriterVNC> g_readerWriter_VNC_Proxy;
|
||||
REGISTER_OSGPLUGIN(vnc, ReaderWriterVNC)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user