1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Stop warning about NiDitherProperty, ignore NiShadeProperty (unused)

This commit is contained in:
scrawl 2015-03-24 23:40:37 +01:00
parent 9141a8d801
commit 9ee99a751c

View File

@ -1294,10 +1294,10 @@ namespace NifOsg
} }
break; break;
} }
// unused by mw
case Nif::RC_NiShadeProperty:
case Nif::RC_NiDitherProperty: case Nif::RC_NiDitherProperty:
{ {
stateset->setMode(GL_DITHER, property->flags != 0 ? osg::StateAttribute::ON
: osg::StateAttribute::OFF);
break; break;
} }
default: default: