mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
PixelShaderManager: Remove unnecessary casts.
EFBToScaledXf and EFBScaledYf return a float, so the cast isn't needed here.
This commit is contained in:
parent
c792d45d89
commit
d10571a86a
@ -159,8 +159,8 @@ void PixelShaderManager::SetViewportChanged()
|
||||
|
||||
void PixelShaderManager::SetEfbScaleChanged()
|
||||
{
|
||||
constants.efbscale[0] = 1.0f / float(Renderer::EFBToScaledXf(1));
|
||||
constants.efbscale[1] = 1.0f / float(Renderer::EFBToScaledYf(1));
|
||||
constants.efbscale[0] = 1.0f / Renderer::EFBToScaledXf(1);
|
||||
constants.efbscale[1] = 1.0f / Renderer::EFBToScaledYf(1);
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user