Hello André,
> Looks like the constructor of the base class (GraphicsWindowWin32) is not
> being called by your derived class (_realized is false).
Here is my whole class (no joke!):
class MyGraphicsWindowWin32 : public osgViewer::GraphicsWindowWin32
{
public:
MyGraphicsWindowWin32 (osg::GraphicsContext::Traits* traits)
: osgViewer::GraphicsWindowWin32(traits)
{
}
virtual void swapBuffersImplementation()
{
std::cout << "Before SwapBuffers" << std::endl;
osgViewer::GraphicsWindowWin32::swapBuffersImplementation();
std::cout << "After SwapBuffers" << std::endl;
}
};
So I would assume the base class constructor is being called?
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org