mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Improved D3D and OGL AA option UI
Removed Quality Levels from D3D AA options Dropdown text now shows whether you're applying MSAA or SSAA Added a description for SSAA Moved SSAA checkbox Cleaned up AA in backends slightly. Supported modes is now a list of ints.
This commit is contained in:
@ -106,16 +106,10 @@ void InitBackendInfo()
|
||||
{
|
||||
std::string samples;
|
||||
std::vector<DXGI_SAMPLE_DESC> modes = DX11::D3D::EnumAAModes(ad);
|
||||
// First iteration will be 1. This equals no AA.
|
||||
for (unsigned int i = 0; i < modes.size(); ++i)
|
||||
{
|
||||
if (i == 0)
|
||||
samples = _trans("None");
|
||||
else if (modes[i].Quality)
|
||||
samples = StringFromFormat(_trans("%d samples (quality level %d)"), modes[i].Count, modes[i].Quality);
|
||||
else
|
||||
samples = StringFromFormat(_trans("%d samples"), modes[i].Count);
|
||||
|
||||
g_Config.backend_info.AAModes.push_back(samples);
|
||||
g_Config.backend_info.AAModes.push_back(modes[i].Count);
|
||||
}
|
||||
|
||||
bool shader_model_5_supported = (DX11::D3D::GetFeatureLevel(ad) >= D3D_FEATURE_LEVEL_11_0);
|
||||
|
Reference in New Issue
Block a user