1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Merge pull request #5306 from IvanSavenko/xbrz_foreground

[1.6.4?] Move xbrz upscaling from foreground thread to background
This commit is contained in:
Ivan Savenko
2025-01-25 17:23:46 +02:00
committed by GitHub
46 changed files with 1590 additions and 1312 deletions

View File

@ -1171,7 +1171,7 @@ void CPlayerInterface::showMapObjectSelectDialog(QueryID askID, const Component
if(t)
{
auto image = GH.renderHandler().loadImage(AnimationPath::builtin("ITPA"), t->getTown()->clientInfo.icons[t->hasFort()][false] + 2, 0, EImageBlitMode::OPAQUE);
image->scaleTo(Point(35, 23));
image->scaleTo(Point(35, 23), EScalingAlgorithm::NEAREST);
images.push_back(image);
}
}