diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-01-26 19:11:11 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-04-08 18:30:59 -0700 |
| commit | dbb857b175c6687740b337147ce9f4d0e3fc52aa (patch) | |
| tree | ebf8b2b880f21d2b90e65828bc6e62df1a69a2bf /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | f6ab317374e597e8e6d60e4d5cf5ce5518f5e7e5 (diff) | |
VertexShaderManager: Use g_ActiveConfig.UseVertexRounding()
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 25c7f79b30..23e94776be 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -303,7 +303,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 != 1; + const bool bUseVertexRounding = g_ActiveConfig.UseVertexRounding(); const float viewport_width = bUseVertexRounding ? (2.f * xfmem.viewport.wd) : g_renderer->EFBToScaledXf(2.f * xfmem.viewport.wd); |
