mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
PixelShaderManager: Reload fog range adjustment shader constants upon viewport change.
Fixes issue 5618.
This commit is contained in:
parent
def578fea6
commit
e877b5019b
2 changed files with 3 additions and 2 deletions
|
@ -413,6 +413,7 @@ void PixelShaderManager::SetZTextureBias(u32 bias)
|
|||
void PixelShaderManager::SetViewportChanged()
|
||||
{
|
||||
s_bDepthRangeChanged = true;
|
||||
s_bFogRangeAdjustChanged = true; // TODO: Shouldn't be necessary with an accurate fog range adjust implementation
|
||||
}
|
||||
|
||||
void PixelShaderManager::SetIndTexScaleChanged(u8 stagemask)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue