summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject.h
diff options
context:
space:
mode:
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;