1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 06:29:56 +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))