mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-27 23:37:20 +00:00
Add missing initialization
This commit is contained in:
parent
78459314bf
commit
8d3efd27ba
@ -61,7 +61,7 @@ namespace MWRender
|
||||
bool mPostprocessing = false;
|
||||
|
||||
fx::DispatchArray mPasses;
|
||||
fx::FlagsType mMask;
|
||||
fx::FlagsType mMask = 0;
|
||||
|
||||
osg::ref_ptr<osg::Program> mFallbackProgram;
|
||||
osg::ref_ptr<osg::Program> mMultiviewResolveProgram;
|
||||
|
@ -442,7 +442,7 @@ namespace NifOsg
|
||||
}
|
||||
}
|
||||
|
||||
MaterialColorController::MaterialColorController() {}
|
||||
MaterialColorController::MaterialColorController() = default;
|
||||
|
||||
MaterialColorController::MaterialColorController(
|
||||
const Nif::NiMaterialColorController* ctrl, const osg::Material* baseMaterial)
|
||||
|
@ -347,7 +347,9 @@ namespace NifOsg
|
||||
|
||||
private:
|
||||
Vec3Interpolator mData;
|
||||
Nif::NiMaterialColorController::TargetColor mTargetColor;
|
||||
Nif::NiMaterialColorController::TargetColor mTargetColor{
|
||||
Nif::NiMaterialColorController::TargetColor::Ambient
|
||||
};
|
||||
osg::ref_ptr<const osg::Material> mBaseMaterial;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user