aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgrhitextureglyphcache_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-10-02 11:10:21 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-10-07 09:30:48 +0200
commit74c898d5f5891553500426592a16419bd83776da (patch)
tree5103af45b0a4621dc88db07ce5c3419e8b472c7e /src/quick/scenegraph/qsgrhitextureglyphcache_p.h
parentce94b847c87e2606c5f189d2ad3715c1d025b9cf (diff)
Follow QRhi improvements and drop QVectors where applicable
Task-number: QTBUG-78883 Change-Id: Ifcf5af843b5101a35ecc762a6a3b0196b6d97782 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgrhitextureglyphcache_p.h')
-rw-r--r--src/quick/scenegraph/qsgrhitextureglyphcache_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgrhitextureglyphcache_p.h b/src/quick/scenegraph/qsgrhitextureglyphcache_p.h
index 75d82de90d..a7374d91a4 100644
--- a/src/quick/scenegraph/qsgrhitextureglyphcache_p.h
+++ b/src/quick/scenegraph/qsgrhitextureglyphcache_p.h
@@ -90,7 +90,7 @@ private:
QRhiTexture *m_texture = nullptr;
QSize m_size;
bool m_bgra = false;
- QVector<QRhiTextureUploadEntry> m_uploads;
+ QVarLengthArray<QRhiTextureUploadEntry, 16> m_uploads;
QSet<QRhiTexture *> m_pendingDispose;
};