mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
GL: fix and clean up some code
This commit is contained in:
@@ -21,8 +21,7 @@ void SetColorMaskStep::run(PipelineContext &context)
|
||||
mat.Material.ColorMask = color_mask;
|
||||
mat.EnableProps = video::EMP_COLOR_MASK;
|
||||
mat.EnablePasses = scene::ESNRP_SKY_BOX | scene::ESNRP_SOLID |
|
||||
scene::ESNRP_TRANSPARENT | scene::ESNRP_TRANSPARENT_EFFECT |
|
||||
scene::ESNRP_SHADOW;
|
||||
scene::ESNRP_TRANSPARENT | scene::ESNRP_TRANSPARENT_EFFECT;
|
||||
}
|
||||
|
||||
/// ClearDepthBufferTarget
|
||||
|
Reference in New Issue
Block a user