1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Add missing SubPass::mMinMap initialization

This commit is contained in:
elsid 2024-01-12 23:01:09 +01:00
parent 99164b3a0e
commit dd706aab0e
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -55,7 +55,7 @@ namespace fx
osg::ref_ptr<osg::Texture2D> mRenderTexture;
bool mResolve = false;
Types::SizeProxy mSize;
bool mMipMap;
bool mMipMap = false;
SubPass(const SubPass& other, const osg::CopyOp& copyOp = osg::CopyOp::SHALLOW_COPY)
: mStateSet(new osg::StateSet(*other.mStateSet, copyOp))