This commit is contained in:
YuSanka 2020-01-28 16:23:05 +01:00
parent a38735b4ae
commit cd2973fad3

View file

@ -61,7 +61,7 @@ wxBitmap* BitmapCache::insert(const std::string &bitmap_key, size_t width, size_
// So, We need to let the Mac OS wxBitmap implementation
// know that the image may already be scaled appropriately for Retina,
// and thereby that it's not supposed to upscale it.
return bitmap->CreateScaled(width, height, scale);
bitmap->CreateScaled(width, height, -1, scale);
#endif
m_map[bitmap_key] = bitmap;
} else {