From 3d8cc716016fbddafa1857935fe33768e93ea04e Mon Sep 17 00:00:00 2001 From: Daniel Emminizer Date: Thu, 5 Apr 2018 10:51:24 -0400 Subject: [PATCH] osgDB: Added missing extern OSGDB_EXPORT. --- include/osgDB/ReadFile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgDB/ReadFile b/include/osgDB/ReadFile index c1a85583a..4d0670bb0 100644 --- a/include/osgDB/ReadFile +++ b/include/osgDB/ReadFile @@ -197,7 +197,7 @@ inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -osg::ref_ptr readRefShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const Options* options, const char* fallback); +extern OSGDB_EXPORT osg::ref_ptr readRefShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const Options* options, const char* fallback); /** Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin