diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 08:32:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 08:32:46 +0200 |
commit | 0635b7f5e8902856a86517aa921ac9f05e295917 (patch) | |
tree | d188e129f61f6027071bda67d778631cd03c5bec /shaders | |
parent | a0fde780a83d549c191e6aba5025b9e79c13ed39 (diff) |
leave scissor test enabled
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/lightmap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index 68afc634..6b09c5f8 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -376,6 +376,7 @@ void lightmap_shader::bind() { framebuffer.fb.mapForDraw(GL::Framebuffer::ColorAttachment{0}); framebuffer.fb.bind(); + GL::Renderer::setScissor({{}, {(int)1e6, (int)1e6}}); } GL::Texture2D& lightmap_shader::scratch_texture() |