We always use 32 bit depth on OSX for this conversion from wxImage
This commit is contained in:
@@ -1212,6 +1212,8 @@ wxBitmap::wxBitmap(const wxImage& image, int depth, double scale)
|
|||||||
// width and height of the device-dependent bitmap
|
// width and height of the device-dependent bitmap
|
||||||
int width = image.GetWidth();
|
int width = image.GetWidth();
|
||||||
int height = image.GetHeight();
|
int height = image.GetHeight();
|
||||||
|
// we always use 32 bit internally here
|
||||||
|
depth = 32;
|
||||||
|
|
||||||
wxBitmapRefData* bitmapRefData;
|
wxBitmapRefData* bitmapRefData;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user