diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:45:34 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:45:34 +0100 |
commit | ff3a18b1a251a5e85057e52303efa0cdd79e8a66 (patch) | |
tree | 44c2f3a6f69bc922d71063debd14ba669c74ca0d /editor/draw.cpp | |
parent | b4770eb85369e91cbf800e8192dac0d8c0c627cf (diff) |
add floor mesh to struct chunk
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r-- | editor/draw.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp index ad634815..89613d37 100644 --- a/editor/draw.cpp +++ b/editor/draw.cpp @@ -9,6 +9,8 @@ namespace floormat { void app::draw_cursor() { + GL::Renderer::disable(GL::Renderer::Feature::DepthTest); + constexpr float LINE_WIDTH = 2; if (cursor.tile && !cursor.in_imgui) |