diff options
-rw-r--r-- | main/draw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index bf5dfb87..d30d842f 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -152,13 +152,13 @@ void main_impl::draw_world() noexcept }, draw_bounds, z_bounds, sz); + GL::Renderer::setDepthMask(false); + draw_world_0([&](chunk& c, int16_t, int16_t, int8_t) { _anim_mesh.draw(_shader, sz, c, _clickable_scenery, _do_render_vobjs); }, draw_bounds, z_bounds, sz); - GL::Renderer::setDepthMask(false); - _shader.set_tint({1, 1, 1, 1}); GL::Renderer::setDepthMask(true); |