PGXP: Make preserving pre-divide fractional coordinates an option

Fixes holes in geometry in Crash Team Racing with PGXP on.
This commit is contained in:
Connor McLaughlin
2020-10-10 00:07:07 +10:00
parent fa638ef9d2
commit 4f0007dd55
6 changed files with 43 additions and 9 deletions

View File

@ -959,6 +959,9 @@ void SDLHostInterface::DrawQuickSettingsMenu()
m_settings_copy.gpu_pgxp_enable);
settings_changed |=
ImGui::MenuItem("PGXP CPU Instructions", nullptr, &m_settings_copy.gpu_pgxp_cpu, m_settings_copy.gpu_pgxp_enable);
settings_changed |=
ImGui::MenuItem("PGXP Preserve Projection Precision", nullptr, &m_settings_copy.gpu_pgxp_preserve_proj_fp,
m_settings_copy.gpu_pgxp_enable);
ImGui::EndMenu();
}