mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02:00
VertexShaderManager: Use g_ActiveConfig.UseVertexRounding()
This commit is contained in:
parent
f6ab317374
commit
dbb857b175
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user