mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 09:53:50 +00:00
Fix an uninitialized value
This commit is contained in:
parent
9b9c39af7a
commit
a1ac99463f
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect<float> area)
|
||||||
LayerInfo info;
|
LayerInfo info;
|
||||||
info.mDiffuseMap = "textures\\_land_default.dds";
|
info.mDiffuseMap = "textures\\_land_default.dds";
|
||||||
info.mParallax = false;
|
info.mParallax = false;
|
||||||
|
info.mSpecular = false;
|
||||||
layer.push_back(info);
|
layer.push_back(info);
|
||||||
matGen.setLayerList(layer);
|
matGen.setLayerList(layer);
|
||||||
makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr()));
|
makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr()));
|
||||||
|
|
Loading…
Reference in a new issue