Kaydet (Commit) 4d5f4e20 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

bmpmasktest was little-endian only

Change-Id: Icf362281c54509211b08c8bf5e29a0e31d9eb835
(cherry picked from commit 3cfa4f26)
üst 1c66e33e
......@@ -206,11 +206,11 @@ public:
DrawMode::DrawMode_PAINT );
CPPUNIT_ASSERT_MESSAGE( "output not cleared to white",
xOutput->getPixelData( basegfx::B2IPoint( 0, 0 ) ) == 0xffffff );
xOutput->getPixel( basegfx::B2IPoint( 0, 0 ) ) == Color(0xffffff) );
CPPUNIT_ASSERT_MESSAGE( "bitmap not drawn",
xOutput->getPixelData( basegfx::B2IPoint( 2, 2 ) ) == 0x808080 );
xOutput->getPixel( basegfx::B2IPoint( 2, 2 ) ) == Color(0x808080) );
CPPUNIT_ASSERT_MESSAGE( "mask not applied",
xOutput->getPixelData( basegfx::B2IPoint( 6, 6 ) ) == 0xffffff );
xOutput->getPixel( basegfx::B2IPoint( 6, 6 ) ) == Color(0xffffff) );
}
// Change the following lines only, if you add, remove or rename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment