Merge pull request #2143 from lioncash/cast
PixelShaderManager: Remove unnecessary casts.
This commit is contained in:
commit
4fd980e6d4
|
@ -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…
Reference in New Issue