Moved the REGISTER_WINDOWINGSYSTEMINTERFACE macro into the osgViewer namespace
This commit is contained in:
parent
9aef7d2954
commit
b1655dd17b
@ -1097,22 +1097,6 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 1
|
|
||||||
REGISTER_WINDOWINGSYSTEMINTERFACE(Carbon, CarbonWindowingSystemInterface)
|
REGISTER_WINDOWINGSYSTEMINTERFACE(Carbon, CarbonWindowingSystemInterface)
|
||||||
#else
|
|
||||||
|
|
||||||
#ifdef USE_DARWIN_CARBON_IMPLEMENTATION
|
|
||||||
RegisterWindowingSystemInterfaceProxy<CarbonWindowingSystemInterface> createWindowingSystemInterfaceProxy;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// declare C entry point for static compilation.
|
|
||||||
extern "C" void graphicswindow_Carbon(void)
|
|
||||||
{
|
|
||||||
osg::GraphicsContext::setWindowingSystemInterface(new osgViewer::CarbonWindowingSystemInterface());
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -1827,18 +1827,6 @@ private:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 1
|
|
||||||
REGISTER_WINDOWINGSYSTEMINTERFACE(Cocoa, CocoaWindowingSystemInterface)
|
REGISTER_WINDOWINGSYSTEMINTERFACE(Cocoa, CocoaWindowingSystemInterface)
|
||||||
#else
|
|
||||||
#ifdef USE_DARWIN_COCOA_IMPLEMENTATION
|
|
||||||
RegisterWindowingSystemInterfaceProxy<osgViewer::CocoaWindowingSystemInterface> createWindowingSystemInterfaceProxy;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// declare C entry point for static compilation.
|
|
||||||
extern "C" void graphicswindow_Cocoa(void)
|
|
||||||
{
|
|
||||||
osg::GraphicsContext::setWindowingSystemInterface(new osgViewer::CocoaWindowingSystemInterface());
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
@ -1224,17 +1224,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}//end namspace
|
|
||||||
|
|
||||||
#if 1
|
|
||||||
REGISTER_WINDOWINGSYSTEMINTERFACE(IOS, ConcreteIOSWindowingSystemInterface)
|
REGISTER_WINDOWINGSYSTEMINTERFACE(IOS, ConcreteIOSWindowingSystemInterface)
|
||||||
#else
|
|
||||||
RegisterWindowingSystemInterfaceProxy<osgViewer::ConcreteIOSWindowingSystemInterface> createWindowingSystemInterfaceProxy;
|
|
||||||
|
|
||||||
|
}//end namspace
|
||||||
// declare C entry point for static compilation.
|
|
||||||
extern "C" void graphicswindow_IOS(void)
|
|
||||||
{
|
|
||||||
osg::GraphicsContext::setWindowingSystemInterface(new osgViewer::ConcreteIOSWindowingSystemInterface());
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user