From 1febb02d958fa4cf8c15e3ca18f9d644f9fc80fb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 9 Nov 2022 16:17:23 +0100 Subject: depth buffer works! --- editor/draw.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'editor/draw.cpp') diff --git a/editor/draw.cpp b/editor/draw.cpp index 89613d37..ad634815 100644 --- a/editor/draw.cpp +++ b/editor/draw.cpp @@ -9,8 +9,6 @@ namespace floormat { void app::draw_cursor() { - GL::Renderer::disable(GL::Renderer::Feature::DepthTest); - constexpr float LINE_WIDTH = 2; if (cursor.tile && !cursor.in_imgui) -- cgit v1.2.3