diff options
| author | JosJuice <josjuice@gmail.com> | 2017-07-03 16:32:02 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-08-08 12:09:50 +0200 |
| commit | f090a943190aead4d24f0cd4ba5ca32c08261706 (patch) | |
| tree | dcc48692c54385f612bd591567c37e7dcd20c43b /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | a25f7b9b4cba292ae6230cafe2497f73086e161b (diff) | |
Remove non-integer IRs
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index ad20ab2332..2d1269509d 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -376,8 +376,7 @@ void VertexShaderManager::SetConstants() // NOTE: If we ever emulate antialiasing, the sample locations set by // BP registers 0x01-0x04 need to be considered here. const float pixel_center_correction = 7.0f / 12.0f - 0.5f; - const bool bUseVertexRounding = - g_ActiveConfig.bVertexRounding && g_ActiveConfig.iEFBScale != SCALE_1X; + const bool bUseVertexRounding = g_ActiveConfig.bVertexRounding && g_ActiveConfig.iEFBScale != 1; const float viewport_width = bUseVertexRounding ? (2.f * xfmem.viewport.wd) : g_renderer->EFBToScaledXf(2.f * xfmem.viewport.wd); |
