Merge pull request #2143 from lioncash/cast

PixelShaderManager: Remove unnecessary casts.
This commit is contained in:
Markus Wick 2015-02-28 10:05:48 +01:00
commit 4fd980e6d4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}