Changed the launch screen marquee image filtering from nearest neighbor to linear.

This commit is contained in:
Leon Styhre 2021-08-19 20:19:08 +02:00
parent 6e882dd564
commit 65b2f5b898

View file

@ -162,7 +162,7 @@ void GuiLaunchScreen::displayLaunchScreen(FileData* game)
// width so that the sizes look somewhat consistent regardless of the aspect ratio // width so that the sizes look somewhat consistent regardless of the aspect ratio
// of the images. // of the images.
if (mImagePath != "") { if (mImagePath != "") {
mMarquee->setImage(game->getMarqueePath(), false); mMarquee->setImage(game->getMarqueePath(), false, true);
mMarquee->cropTransparentPadding(static_cast<float>(Renderer::getScreenWidth()) * mMarquee->cropTransparentPadding(static_cast<float>(Renderer::getScreenWidth()) *
(0.25f * (1.778f / Renderer::getScreenAspectRatio())), (0.25f * (1.778f / Renderer::getScreenAspectRatio())),
mGrid->getRowHeight(3)); mGrid->getRowHeight(3));