From 0635b7f5e8902856a86517aa921ac9f05e295917 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 24 Aug 2023 08:32:46 +0200 Subject: leave scissor test enabled --- main/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/draw.cpp') diff --git a/main/draw.cpp b/main/draw.cpp index 59c0feed..7dacc870 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -59,7 +59,7 @@ void main_impl::recalc_viewport(Vector2i fb_size, Vector2i win_size) noexcept GL::Renderer::disable(Feature::FaceCulling); GL::Renderer::disable(Feature::DepthTest); GL::Renderer::enable(Feature::Blending); - GL::Renderer::disable(Feature::ScissorTest); + GL::Renderer::enable(Feature::ScissorTest); GL::Renderer::enable(Feature::DepthClamp); GL::Renderer::setDepthFunction(DepthFunction::Greater); GL::Renderer::setScissor({{}, fb_size}); -- cgit v1.2.3