mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 13:20:04 +00:00
shader: Fix shadow_texture_orthographic not being set correctly. (#6937)
This commit is contained in:
parent
1159e4d928
commit
5ad58e0605
2 changed files with 2 additions and 6 deletions
|
@ -256,9 +256,7 @@ PicaFSConfig PicaFSConfig::BuildFromRegs(const Pica::Regs& regs, bool has_blend_
|
|||
|
||||
state.shadow_rendering = regs.framebuffer.output_merger.fragment_operation_mode ==
|
||||
FramebufferRegs::FragmentOperationMode::Shadow;
|
||||
if (state.shadow_rendering) {
|
||||
state.shadow_texture_orthographic = regs.texturing.shadow.orthographic != 0;
|
||||
}
|
||||
state.shadow_texture_orthographic = regs.texturing.shadow.orthographic != 0;
|
||||
|
||||
state.use_custom_normal_map = use_normal;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue