summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-09 17:36:22 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-10 17:30:02 +0200
commit55dda687fd56915016ff7097034179a566d20a60 (patch)
tree9945a51a99b5208511a0a7353eadc62573a91baf /src/opengl/qopenglframebufferobject.h
parent8186bd628f701744a528d83c22346abcd6c46384 (diff)
QOpenGLFramebufferObject: merge toImage overloads
Address ### Qt 6 comment Change-Id: I60b1dba72dbf2490294c84e5d1a85ae7e7181fc3 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglframebufferobject.h')
-rw-r--r--src/opengl/qopenglframebufferobject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opengl/qopenglframebufferobject.h b/src/opengl/qopenglframebufferobject.h
index 9351f6f1a6c..3153aac3f63 100644
--- a/src/opengl/qopenglframebufferobject.h
+++ b/src/opengl/qopenglframebufferobject.h
@@ -108,8 +108,7 @@ public:
QSize size() const;
QList<QSize> sizes() const;
- QImage toImage() const;
- QImage toImage(bool flipped) const;
+ QImage toImage(bool flipped = true) const;
QImage toImage(bool flipped, int colorAttachmentIndex) const;
Attachment attachment() const;