Rename E_MATERIAL_FLAG -> E_MATERIAL_PROP

The enum values don't reference material flags, but material properties.
This commit is contained in:
Gregor Parzefall 2023-06-24 15:15:58 +02:00 committed by sfan5
parent 9bef3c136a
commit 05ebe2418b

@ -33,7 +33,7 @@ void SetColorMaskStep::run(PipelineContext &context)
video::SOverrideMaterial &mat = context.device->getVideoDriver()->getOverrideMaterial(); video::SOverrideMaterial &mat = context.device->getVideoDriver()->getOverrideMaterial();
mat.reset(); mat.reset();
mat.Material.ColorMask = color_mask; mat.Material.ColorMask = color_mask;
mat.EnableFlags = video::EMF_COLOR_MASK; mat.EnableProps = video::EMP_COLOR_MASK;
mat.EnablePasses = scene::ESNRP_SKY_BOX | scene::ESNRP_SOLID | mat.EnablePasses = scene::ESNRP_SKY_BOX | scene::ESNRP_SOLID |
scene::ESNRP_TRANSPARENT | scene::ESNRP_TRANSPARENT_EFFECT | scene::ESNRP_TRANSPARENT | scene::ESNRP_TRANSPARENT_EFFECT |
scene::ESNRP_SHADOW; scene::ESNRP_SHADOW;