Added some debug message to the set/getWindowSystemInterface function

This commit is contained in:
Robert Osfield
2007-05-25 15:57:59 +00:00
parent 8a1ac890f3
commit 96f0e8bd54

View File

@@ -34,10 +34,12 @@ static ref_ptr<GraphicsContext::WindowingSystemInterface> s_WindowingSystemInter
void GraphicsContext::setWindowingSystemInterface(WindowingSystemInterface* callback)
{
s_WindowingSystemInterface = callback;
osg::notify(osg::INFO)<<"GraphicsContext::setWindowingSystemInterface() "<<s_WindowingSystemInterface.get()<<"\t"<<&s_WindowingSystemInterface<<std::endl;
}
GraphicsContext::WindowingSystemInterface* GraphicsContext::getWindowingSystemInterface()
{
osg::notify(osg::INFO)<<"GraphicsContext::getWindowingSystemInterface() "<<s_WindowingSystemInterface.get()<<"\t"<<&s_WindowingSystemInterface<<std::endl;
return s_WindowingSystemInterface.get();
}