diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 11:55:39 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-07 20:35:05 +0200 |
commit | 471e4fcb226c4523efe93b1bdaf0db026495da94 (patch) | |
tree | bb963937b2446eb32d7632568433083a386f2c68 /src/gui/rhi/qrhi.cpp | |
parent | 7f400522c39f6a1abf083dc1af49ea3109635cc8 (diff) |
Use QList instead of QVector in gui implementation
Task-number: QTBUG-84469
Change-Id: I366e845249203d80d640355a7780ac2f91a762f1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi.cpp')
-rw-r--r-- | src/gui/rhi/qrhi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp index 1ad275e768..c5fac634be 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -1632,7 +1632,7 @@ QRhiTextureUploadEntry::QRhiTextureUploadEntry(int layer, int level, \badcode QImage faces[6]; ... - QVector<QRhiTextureUploadEntry> entries; + QList<QRhiTextureUploadEntry> entries; for (int i = 0; i < 6; ++i) entries.append(QRhiTextureUploadEntry(i, 0, faces[i])); QRhiTextureUploadDescription desc(entries); @@ -3337,7 +3337,7 @@ QDebug operator<<(QDebug dbg, const QRhiShaderResourceBindings &srb) */ /*! - \fn void QRhiGraphicsPipeline::setTargetBlends(const QVector<TargetBlend> &blends) + \fn void QRhiGraphicsPipeline::setTargetBlends(const QList<TargetBlend> &blends) Sets the blend specification for color attachments. Each element in \a blends corresponds to a color attachment of the render target. @@ -5850,7 +5850,7 @@ QRhi::FrameOpResult QRhi::finish() with some others the (physical) device properties indicate what is supported at run time. */ -QVector<int> QRhi::supportedSampleCounts() const +QList<int> QRhi::supportedSampleCounts() const { return d->supportedSampleCounts(); } |