Fixed shadows and Litproj

This commit is contained in:
korenkonder
2024-01-12 08:20:15 +03:00
parent f53da6a0bf
commit 85084aed29
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1324,7 +1324,7 @@ static bool draw_pass_shadow_litproj() {
glClearDepthf(1.0f);
glClearDLL(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (!draw_pass_shadow_litproj_set_mat(false)) {
if (!draw_pass_shadow_litproj_set_mat(true)) {
gl_state_bind_framebuffer(0);
return false;
}