mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 08:39:13 +01:00
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:
parent
6a27f1bbf6
commit
7fdfea5a69
@ -279,10 +279,7 @@ bool GameListItem::ReadPNGBanner(const std::string& path)
|
|||||||
wxBitmap GameListItem::ScaleBanner(wxImage* image)
|
wxBitmap GameListItem::ScaleBanner(wxImage* image)
|
||||||
{
|
{
|
||||||
double scale = wxTheApp->GetTopWindow()->GetContentScaleFactor();
|
double scale = wxTheApp->GetTopWindow()->GetContentScaleFactor();
|
||||||
// Note: This uses nearest neighbor, which subjectively looks a lot
|
image->Rescale(DVD_BANNER_WIDTH * scale, DVD_BANNER_HEIGHT * scale, wxIMAGE_QUALITY_HIGH);
|
||||||
// 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);
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
return wxBitmap(*image, -1, scale);
|
return wxBitmap(*image, -1, scale);
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user