summaryrefslogtreecommitdiffstats
path: root/tests/auto/render
diff options
context:
space:
mode:
authorJuan Casafranca <juan.casafranca@kdab.com>2020-09-25 12:55:37 +0200
committerJuan José Casafranca <juan.casafranca@kdab.com>2020-09-28 09:35:44 +0200
commit327da58f9463354dea30c6fac4fdf8da3c3b7d08 (patch)
tree8cc1f0fe1058b62b339aaadd362794b99e456ae1 /tests/auto/render
parentbbecb4a4ffe06e7f96c108995bc5e75614eaa963 (diff)
Allow to set alignment requirement for an image
Change-Id: Ifffbfd80a3d99b43e348e12bea62e3c90eed80c4 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/render')
-rw-r--r--tests/auto/render/qtextureimagedata/tst_qtextureimagedata.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/render/qtextureimagedata/tst_qtextureimagedata.cpp b/tests/auto/render/qtextureimagedata/tst_qtextureimagedata.cpp
index 4912dac0c..c508294df 100644
--- a/tests/auto/render/qtextureimagedata/tst_qtextureimagedata.cpp
+++ b/tests/auto/render/qtextureimagedata/tst_qtextureimagedata.cpp
@@ -59,6 +59,7 @@ private Q_SLOTS:
QCOMPARE(tid->pixelFormat(), QOpenGLTexture::RGBA);
QCOMPARE(tid->pixelType(), QOpenGLTexture::UInt8);
QCOMPARE(tid->isCompressed(), false);
+ QCOMPARE(tid->alignment(), 1);
}
void checkCloning_data()