Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization.

This commit is contained in:
Robert Osfield
2012-09-05 13:48:23 +00:00
parent 3c9a0cdfd7
commit f5a3c40934
3 changed files with 7 additions and 1 deletions

View File

@@ -16,7 +16,6 @@
using namespace osgViewer;
#define OSG_INIT_SINGLETON_PROXY(ProxyName, Func) static struct ProxyName{ ProxyName() { Func; } } s_##ProxyName;
namespace osgViewer
{