Typo fix for a38735b4ae
This commit is contained in:
parent
a38735b4ae
commit
cd2973fad3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// So, We need to let the Mac OS wxBitmap implementation
|
||||||
// know that the image may already be scaled appropriately for Retina,
|
// know that the image may already be scaled appropriately for Retina,
|
||||||
// and thereby that it's not supposed to upscale it.
|
// and thereby that it's not supposed to upscale it.
|
||||||
return bitmap->CreateScaled(width, height, scale);
|
bitmap->CreateScaled(width, height, -1, scale);
|
||||||
#endif
|
#endif
|
||||||
m_map[bitmap_key] = bitmap;
|
m_map[bitmap_key] = bitmap;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue