Added mechanism for registering proxy objects in the .osg plugin in a way that is compatible with static linking.
This commit is contained in:
@@ -14,7 +14,7 @@ bool AlphaFunc_matchFuncStr(const char* str,AlphaFunc::ComparisonFunction& func)
|
||||
const char* AlphaFunc_getFuncStr(AlphaFunc::ComparisonFunction func);
|
||||
|
||||
// register the read and write functions with the osgDB::Registry.
|
||||
RegisterDotOsgWrapperProxy g_AlphaFuncProxy
|
||||
REGISTER_DOTOSGWRAPPER(AlphaFunc)
|
||||
(
|
||||
new osg::AlphaFunc,
|
||||
"AlphaFunc",
|
||||
|
||||
Reference in New Issue
Block a user