don't invert mono bitmaps in Rescale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -373,7 +373,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
|
|||||||
|
|
||||||
if ( dst )
|
if ( dst )
|
||||||
{
|
{
|
||||||
if (!pixval)
|
if (pixval)
|
||||||
{
|
{
|
||||||
char bit=1;
|
char bit=1;
|
||||||
char shift = bit << (w % 8);
|
char shift = bit << (w % 8);
|
||||||
|
Reference in New Issue
Block a user