diff options
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() |