summaryrefslogtreecommitdiffhomepage
path: root/main/draw.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-24 08:32:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-24 08:32:46 +0200
commit0635b7f5e8902856a86517aa921ac9f05e295917 (patch)
treed188e129f61f6027071bda67d778631cd03c5bec /main/draw.cpp
parenta0fde780a83d549c191e6aba5025b9e79c13ed39 (diff)
leave scissor test enabled
Diffstat (limited to 'main/draw.cpp')
-rw-r--r--main/draw.cpp2
1 files changed, 1 insertions, 1 deletions
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});