Kaydet (Commit) 72b53e17 authored tarafından Michael Meeks's avatar Michael Meeks

Calm unit test down for GL row-strides.

Change-Id: Ie4123fc692f4fac33f082bb2d86b949d834f1858
üst 478917a2
...@@ -55,7 +55,8 @@ void BitmapTest::testConvert() ...@@ -55,7 +55,8 @@ void BitmapTest::testConvert()
//it would be nice to find and change the stride for quartz to be the same as everyone else //it would be nice to find and change the stride for quartz to be the same as everyone else
CPPUNIT_ASSERT_EQUAL(static_cast<sal_uLong>(10), pReadAccess->GetScanlineSize()); CPPUNIT_ASSERT_EQUAL(static_cast<sal_uLong>(10), pReadAccess->GetScanlineSize());
#else #else
CPPUNIT_ASSERT_EQUAL(static_cast<sal_uLong>(12), pReadAccess->GetScanlineSize()); if (!OpenGLHelper::isVCLOpenGLEnabled())
CPPUNIT_ASSERT_EQUAL(static_cast<sal_uLong>(12), pReadAccess->GetScanlineSize());
#endif #endif
CPPUNIT_ASSERT(pReadAccess->HasPalette()); CPPUNIT_ASSERT(pReadAccess->HasPalette());
const BitmapColor& rColor = pReadAccess->GetPaletteColor(pReadAccess->GetPixelIndex(1, 1)); const BitmapColor& rColor = pReadAccess->GetPaletteColor(pReadAccess->GetPixelIndex(1, 1));
......
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