GPU: Add Bilinear (Integer) scaling option

This commit is contained in:
Stenzek
2024-05-12 15:32:21 +10:00
parent 313496e843
commit a4a35b7e58
3 changed files with 13 additions and 7 deletions

View File

@ -1417,15 +1417,17 @@ const char* Settings::GetDisplayAlignmentDisplayName(DisplayAlignment alignment)
static constexpr const std::array s_display_scaling_names = {
"Nearest",
"BilinearSmooth",
"NearestInteger",
"BilinearSmooth",
"BilinearSharp",
"BilinearInteger",
};
static constexpr const std::array s_display_scaling_display_names = {
TRANSLATE_NOOP("DisplayScalingMode", "Nearest-Neighbor"),
TRANSLATE_NOOP("DisplayScalingMode", "Bilinear (Smooth)"),
TRANSLATE_NOOP("DisplayScalingMode", "Nearest-Neighbor (Integer)"),
TRANSLATE_NOOP("DisplayScalingMode", "Bilinear (Smooth)"),
TRANSLATE_NOOP("DisplayScalingMode", "Bilinear (Sharp)"),
TRANSLATE_NOOP("DisplayScalingMode", "Bilinear (Integer)"),
};
std::optional<DisplayScalingMode> Settings::ParseDisplayScaling(const char* str)