mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 20:45:33 +00:00
Stop warning about NiDitherProperty, ignore NiShadeProperty (unused)
This commit is contained in:
parent
9141a8d801
commit
9ee99a751c
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue