From d5c8c9ba44d0225a942ae70006dc40e8cd22c244 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 23 Aug 2023 18:54:45 +0200 Subject: wip --- main/CMakeLists.txt | 10 +++++----- main/draw.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'main') 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}); -- cgit v1.2.3