Fixes for IRIX build.
This commit is contained in:
@@ -66,7 +66,7 @@ void SceneView::setDefaults()
|
||||
_renderStage = osgNew RenderStage;
|
||||
|
||||
|
||||
//#ifndef __sgi
|
||||
#ifndef __sgi
|
||||
// sgi's IR graphics has a problem with lighting and display lists, as it seems to store
|
||||
// lighting state with the display list, and the display list visitor doesn't currently apply
|
||||
// state before creating display lists. So will disable the init visitor default, this won't
|
||||
@@ -75,7 +75,7 @@ void SceneView::setDefaults()
|
||||
dlv->setState(_state.get());
|
||||
dlv->setNodeMaskOverride(0xffffffff);
|
||||
_initVisitor = dlv;
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
_appVisitor = osgNew AppVisitor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user