summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject_p.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_p.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_p.h')
-rw-r--r--src/opengl/qopenglframebufferobject_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglframebufferobject_p.h b/src/opengl/qopenglframebufferobject_p.h
index 3721e2affae..2eb5936cb43 100644
--- a/src/opengl/qopenglframebufferobject_p.h
+++ b/src/opengl/qopenglframebufferobject_p.h
@@ -141,7 +141,7 @@ public:
GLenum internalFormat;
QOpenGLSharedResourceGuard *guard;
};
- QVector<ColorAttachment> colorAttachments;
+ QList<ColorAttachment> colorAttachments;
inline GLuint fbo() const { return fbo_guard ? fbo_guard->id() : 0; }
};