diff options
Diffstat (limited to 'src/opengl/qopenglframebufferobject_p.h')
-rw-r--r-- | src/opengl/qopenglframebufferobject_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglframebufferobject_p.h b/src/opengl/qopenglframebufferobject_p.h index 2eb5936cb4..62c541fdc3 100644 --- a/src/opengl/qopenglframebufferobject_p.h +++ b/src/opengl/qopenglframebufferobject_p.h @@ -141,7 +141,7 @@ public: GLenum internalFormat; QOpenGLSharedResourceGuard *guard; }; - QList<ColorAttachment> colorAttachments; + QVarLengthArray<ColorAttachment, 8> colorAttachments; inline GLuint fbo() const { return fbo_guard ? fbo_guard->id() : 0; } }; |