Add configurable toggle that rounds vertices to the nearest pixel when

w=1.  This fixes some games at higher IRs.
This commit is contained in:
iwubcode
2017-02-18 18:22:41 -06:00
parent 840e58c032
commit a9d08a31a6
9 changed files with 68 additions and 4 deletions

View File

@ -239,6 +239,17 @@ protected:
progressive_scan_checkbox->Disable();
render_to_main_checkbox->Disable();
}
// Don't enable 'vertex rounding' at native
if (vconfig.iEFBScale == SCALE_1X)
{
vertex_rounding_checkbox->Enable(false);
}
else
{
vertex_rounding_checkbox->Enable(true);
}
ev.Skip();
}
@ -286,6 +297,7 @@ protected:
SettingCheckBox* cache_hires_textures;
wxCheckBox* progressive_scan_checkbox;
wxCheckBox* vertex_rounding_checkbox;
wxChoice* choice_ppshader;