mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Fix StencilProperty front face mixup (Fixes #2802)
This commit is contained in:
parent
420503d5fc
commit
ac1f64b559
1 changed files with 2 additions and 2 deletions
|
@ -1159,11 +1159,11 @@ namespace NifOsg
|
|||
osg::FrontFace* frontFace = new osg::FrontFace;
|
||||
switch (stencilprop->data.drawMode)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
frontFace->setMode(osg::FrontFace::CLOCKWISE);
|
||||
break;
|
||||
case 0:
|
||||
case 2:
|
||||
case 1:
|
||||
default:
|
||||
frontFace->setMode(osg::FrontFace::COUNTER_CLOCKWISE);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue