summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:36:03 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-26 15:09:17 +0200
commitb043871d2b1ee9c57d75fe8a3f8cb22e35a4fe4d (patch)
tree129fd32333589a0a2e2351ef699fafbe97f4969b /src/opengl/qopenglframebufferobject.h
parentf529f94132e8095ccd50030baeba2b2f18cabdb8 (diff)
Use QList instead of QVector in opengl
Task-number: QTBUG-84469 Change-Id: I26c1cfab7f2d9aa5c71847ae02bfe0cf15c04a1b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglframebufferobject.h')
-rw-r--r--src/opengl/qopenglframebufferobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglframebufferobject.h b/src/opengl/qopenglframebufferobject.h
index da3347eaec..9351f6f1a6 100644
--- a/src/opengl/qopenglframebufferobject.h
+++ b/src/opengl/qopenglframebufferobject.h
@@ -100,13 +100,13 @@ public:
int height() const { return size().height(); }
GLuint texture() const;
- QVector<GLuint> textures() const;
+ QList<GLuint> textures() const;
GLuint takeTexture();
GLuint takeTexture(int colorAttachmentIndex);
QSize size() const;
- QVector<QSize> sizes() const;
+ QList<QSize> sizes() const;
QImage toImage() const;
QImage toImage(bool flipped) const;