1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-02 23:11:32 +00:00

Fix selection buffer

This commit is contained in:
scrawl 2013-03-07 21:38:27 +01:00
parent 17e406e58c
commit d696da7677

View file

@ -24,6 +24,7 @@ namespace Render
vp->setBackgroundColour(Ogre::ColourValue(0, 0, 0, 0));
vp->setShadowsEnabled(false);
vp->setMaterialScheme("selectionbuffer");
if (visibilityFlags != 0)
vp->setVisibilityMask (visibilityFlags);
mRenderTarget->setActive(true);
mRenderTarget->setAutoUpdated (false);