diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2014-01-12 10:59:54 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-13 09:31:56 +0100 |
commit | 8b675522a2ba5514a73e0b015ff272f61a2affda (patch) | |
tree | 353ac5d47968b559207dbcd62e18425747f785b2 /tests | |
parent | a9d13d79298ec7f7c7f69fb38f97b0f48ca45323 (diff) |
Fix reading palette images in DDS handler.
Change-Id: I039a5f3376a8ebe7230f30a0df31c4a355f22349
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Alex Char <prevedtest@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/dds/tst_qdds.cpp | 1 | ||||
-rw-r--r-- | tests/shared/images/dds.qrc | 1 | ||||
-rw-r--r-- | tests/shared/images/dds/P4.dds | bin | 0 -> 2240 bytes | |||
-rw-r--r-- | tests/shared/images/dds/P8.dds | bin | 16512 -> 5248 bytes |
4 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/dds/tst_qdds.cpp b/tests/auto/dds/tst_qdds.cpp index 4464b99..eb25849 100644 --- a/tests/auto/dds/tst_qdds.cpp +++ b/tests/auto/dds/tst_qdds.cpp @@ -108,6 +108,7 @@ void tst_qdds::readImage_data() QTest::newRow("45") << QString("YUY2") << QSize(64, 64); QTest::newRow("46") << QString("RXGB") << QSize(64, 64); QTest::newRow("47") << QString("ATI2") << QSize(64, 64); + QTest::newRow("48") << QString("P4") << QSize(64, 64); } void tst_qdds::readImage() diff --git a/tests/shared/images/dds.qrc b/tests/shared/images/dds.qrc index e19eee9..128a38d 100644 --- a/tests/shared/images/dds.qrc +++ b/tests/shared/images/dds.qrc @@ -28,6 +28,7 @@ <file>dds/L8.dds</file> <file>dds/L16.dds</file> <file>dds/mipmaps.dds</file> + <file>dds/P4.dds</file> <file>dds/P8.dds</file> <file>dds/Q8W8V8U8.dds</file> <file>dds/Q16W16V16U16.dds</file> diff --git a/tests/shared/images/dds/P4.dds b/tests/shared/images/dds/P4.dds Binary files differnew file mode 100644 index 0000000..c8c3e90 --- /dev/null +++ b/tests/shared/images/dds/P4.dds diff --git a/tests/shared/images/dds/P8.dds b/tests/shared/images/dds/P8.dds Binary files differindex 936b870..4bef9ec 100644 --- a/tests/shared/images/dds/P8.dds +++ b/tests/shared/images/dds/P8.dds |