DolphinWX: Don't use nearest neighbor scaling for banners

* Makes HBC icons look better
* Fixes the issue with white dots appearing in downscaled images
* No longer subjectively better for GC banners according to comex
This commit is contained in:
JosJuice 2015-09-30 20:50:33 +02:00
parent 6a27f1bbf6
commit 7fdfea5a69
1 changed files with 1 additions and 4 deletions

View File

@ -279,10 +279,7 @@ bool GameListItem::ReadPNGBanner(const std::string& path)
wxBitmap GameListItem::ScaleBanner(wxImage* image)
{
double scale = wxTheApp->GetTopWindow()->GetContentScaleFactor();
// Note: This uses nearest neighbor, which subjectively looks a lot
// better for GC banners than smooth scaling.
// TODO: Make scaling less bad for Homebrew Channel banners.
image->Rescale(DVD_BANNER_WIDTH * scale, DVD_BANNER_HEIGHT * scale);
image->Rescale(DVD_BANNER_WIDTH * scale, DVD_BANNER_HEIGHT * scale, wxIMAGE_QUALITY_HIGH);
#ifdef __APPLE__
return wxBitmap(*image, -1, scale);
#else