Merge branch 'coverity_init' into 'master'

Fix two coverity issues about uninitialised variables

See merge request OpenMW/openmw!1112
pull/3097/head
Evil Eye 3 years ago
commit a6c0c1921b

@ -996,6 +996,7 @@ namespace MWPhysics
, mWaterCollision(waterCollision)
, mSkipCollisionDetection(actor.skipCollisions() || !actor.getCollisionMode())
, mNeedLand(false)
, mStuckFrames(0)
{
}

@ -237,6 +237,7 @@ namespace Resource
, mMaxAnisotropy(1)
, mUnRefImageDataAfterApply(false)
, mParticleSystemMask(~0u)
, mDepthFormat(0)
{
}

Loading…
Cancel
Save