mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Quick fix for xbrz scaling artifacts on window borders
This commit is contained in:
@@ -201,7 +201,7 @@ CBitmapFont::CBitmapFont(const std::string & filename):
|
||||
static const std::map<std::string, EScalingAlgorithm> filterNameToEnum = {
|
||||
{ "nearest", EScalingAlgorithm::NEAREST},
|
||||
{ "bilinear", EScalingAlgorithm::BILINEAR},
|
||||
{ "xbrz", EScalingAlgorithm::XBRZ}
|
||||
{ "xbrz", EScalingAlgorithm::XBRZ_ALPHA}
|
||||
};
|
||||
|
||||
auto filterName = settings["video"]["fontUpscalingFilter"].String();
|
||||
|
||||
Reference in New Issue
Block a user