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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user