macOS: fixing wxImage generation from wxBitmap
after 992b594c15
the byte value for ‚masked‘ changed, adapt this accordingly, see https://trac.wxwidgets.org/ticket/18775
This commit is contained in:
@@ -1265,7 +1265,7 @@ wxImage wxBitmap::ConvertToImage() const
|
||||
#endif
|
||||
if ( hasMask )
|
||||
{
|
||||
if ( *maskp++ == 0xFF )
|
||||
if ( *maskp++ == 0x00 )
|
||||
{
|
||||
r = MASK_RED ;
|
||||
g = MASK_GREEN ;
|
||||
|
Reference in New Issue
Block a user