diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 45619b21b9..199fdb9843 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -1294,10 +1294,10 @@ namespace NifOsg } break; } + // unused by mw + case Nif::RC_NiShadeProperty: case Nif::RC_NiDitherProperty: { - stateset->setMode(GL_DITHER, property->flags != 0 ? osg::StateAttribute::ON - : osg::StateAttribute::OFF); break; } default: