Fix test of wxImage::InitAlpha()
This commit is contained in:
parent
1adc38c42b
commit
27141e6a7c
1 changed files with 1 additions and 1 deletions
|
|
@ -2035,7 +2035,7 @@ TEST_CASE("wxImage::InitAlpha", "[image][initalpha]")
|
|||
wxColour cRes(imgRes.GetRed(x, y), imgRes.GetGreen(x, y), imgRes.GetBlue(x, y), imgRes.GetAlpha(x, y));
|
||||
|
||||
CHECK_EQUAL_COLOUR_RGB(cRes, cSrc);
|
||||
if ( cRes == maskCol )
|
||||
if ( cSrc == maskCol )
|
||||
{
|
||||
CHECK((int)cRes.Alpha() == (int)wxIMAGE_ALPHA_TRANSPARENT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue