fixed iterator over wxImage with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2c92d7e398
commit
2f22353e37
@ -322,7 +322,7 @@ struct WXDLLEXPORT wxPixelDataOut<wxImage>
|
|||||||
{
|
{
|
||||||
m_pRGB += PixelFormat::SizePixel;
|
m_pRGB += PixelFormat::SizePixel;
|
||||||
if ( m_pAlpha )
|
if ( m_pAlpha )
|
||||||
m_pAlpha += PixelFormat::SizePixel;
|
++m_pAlpha;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user