summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/CMakeLists.txt10
-rw-r--r--main/draw.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 419043aa..c3174562 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -11,8 +11,8 @@ target_link_libraries(${self} PUBLIC
tsl::robin_map
)
-if(NOT MSVC)
- target_precompile_headers(${self} REUSE_FROM floormat)
-else()
- target_precompile_headers(${self} PRIVATE ../src/precomp.hpp)
-endif()
+#if(NOT MSVC)
+# target_precompile_headers(${self} REUSE_FROM floormat)
+#else()
+# target_precompile_headers(${self} PRIVATE ../src/precomp.hpp)
+#endif()
diff --git a/main/draw.cpp b/main/draw.cpp
index 7dacc870..59c0feed 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::enable(Feature::ScissorTest);
+ GL::Renderer::disable(Feature::ScissorTest);
GL::Renderer::enable(Feature::DepthClamp);
GL::Renderer::setDepthFunction(DepthFunction::Greater);
GL::Renderer::setScissor({{}, fb_size});