diff options
author | Jamie Pate <jpate@fortinet.com> | 2024-11-23 16:11:37 -0800 |
---|---|---|
committer | Jamie Pate <jpate@fortinet.com> | 2024-11-23 16:43:07 -0800 |
commit | 45a7bcc477623b7941bb4a145ddfa62b77e97096 (patch) | |
tree | df476a3e0cfed1e95e47362b993a68f9766155b1 /script/gdscript/gd_compiler.cpp | |
parent | 0c45ace151f25de2ca54fe7a46b6f077be32ba6f (diff) | |
download | redot-engine-45a7bcc477623b7941bb4a145ddfa62b77e97096.tar.gz |
Fix gl_compatibility lightmap uniforms not being set
Fixes #99592
The following variables were set too early, and later code never ran..
prev_shader, prev_variant, prev_spec_constants variables
These variables were shared in two different branch conditions but were
updated inside the first one, so the second could never be true..
The condition to update lighting also should check prev_spec_constants
since it updates that uniform.
Diffstat (limited to 'script/gdscript/gd_compiler.cpp')
0 files changed, 0 insertions, 0 deletions