summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-09 16:17:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-09 16:17:23 +0100
commit1febb02d958fa4cf8c15e3ca18f9d644f9fc80fb (patch)
treed9b389f6c2ff8e031bd70d503c289bcfddf2f048 /editor/imgui.cpp
parent09605450ecc99ad1f4d50e9c143fda6c7762e702 (diff)
depth buffer works!
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 5df5df64..84827ba3 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -19,14 +19,6 @@ void app::init_imgui(Vector2i size)
void app::render_menu()
{
- GL::Renderer::setBlendEquation(GL::Renderer::BlendEquation::Add, GL::Renderer::BlendEquation::Add);
- GL::Renderer::setBlendFunction(GL::Renderer::BlendFunction::SourceAlpha, GL::Renderer::BlendFunction::OneMinusSourceAlpha);
- GL::Renderer::enable(GL::Renderer::Feature::Blending);
-
- GL::Renderer::enable(GL::Renderer::Feature::ScissorTest);
- GL::Renderer::disable(GL::Renderer::Feature::FaceCulling);
- GL::Renderer::disable(GL::Renderer::Feature::DepthTest);
-
_imgui.drawFrame();
}