From Lilin Xiong, "when using stlport5.3 (vc 2003) , this line cann't be compiled:

_instances[0] = new WGLExtensions;
    change to:
   _instances[HGLRC(0)] = new WGLExtensions;"
This commit is contained in:
Robert Osfield
2009-11-24 14:22:12 +00:00
parent 5f04576abd
commit 49d6a96a5a

View File

@@ -427,7 +427,7 @@ WGLExtensions *WGLExtensions::instance()
{
osg::ref_ptr<TemporaryWindow> tempWin= new TemporaryWindow;
tempWin->makeCurrent();
_instances[0] = new WGLExtensions;
_instances[HGLRC(0)] = new WGLExtensions;
}
else
{