Fix "MSAA" and "SSAA" texts being swapped in enhancements overlay

Previously, when you selected MSAA in the advanced options, you
got MSAA but the enhancements display showed "SSAA".
The opposite happened when you selected SSAA.
This commit is contained in:
Hugo Locurcio 2022-09-22 14:08:29 +02:00
parent d26fef3e4e
commit dcd11d8371
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -270,7 +270,7 @@ void ImGuiManager::DrawEnhancementsOverlay()
if (g_settings.gpu_multisamples != 1) if (g_settings.gpu_multisamples != 1)
{ {
text.AppendFormattedString(" %ux%s", g_settings.gpu_multisamples, text.AppendFormattedString(" %ux%s", g_settings.gpu_multisamples,
g_settings.gpu_per_sample_shading ? "MSAA" : "SSAA"); g_settings.gpu_per_sample_shading ? "SSAA" : "MSAA");
} }
if (g_settings.gpu_true_color) if (g_settings.gpu_true_color)
text.AppendString(" TrueCol"); text.AppendString(" TrueCol");