summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglframebufferobject.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <[email protected]>2020-09-09 17:36:22 +0200
committerVolker Hilsheimer <[email protected]>2020-09-10 17:30:02 +0200
commit55dda687fd56915016ff7097034179a566d20a60 (patch)
tree9945a51a99b5208511a0a7353eadc62573a91baf /src/opengl/qopenglframebufferobject.cpp
parent8186bd628f701744a528d83c22346abcd6c46384 (diff)
QOpenGLFramebufferObject: merge toImage overloads
Address ### Qt 6 comment Change-Id: I60b1dba72dbf2490294c84e5d1a85ae7e7181fc3 Reviewed-by: Laszlo Agocs <[email protected]>
Diffstat (limited to 'src/opengl/qopenglframebufferobject.cpp')
-rw-r--r--src/opengl/qopenglframebufferobject.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/opengl/qopenglframebufferobject.cpp b/src/opengl/qopenglframebufferobject.cpp
index 588ddd65359..78b192b630c 100644
--- a/src/opengl/qopenglframebufferobject.cpp
+++ b/src/opengl/qopenglframebufferobject.cpp
@@ -1458,19 +1458,6 @@ QImage QOpenGLFramebufferObject::toImage(bool flipped) const
return toImage(flipped, 0);
}
-/*!
- \fn QImage QOpenGLFramebufferObject::toImage() const
- \overload
-
- Returns the contents of this framebuffer object as a QImage. This method flips
- the image from OpenGL coordinates to raster coordinates.
-*/
-// ### Qt 6: Remove this method and make it a default argument instead.
-QImage QOpenGLFramebufferObject::toImage() const
-{
- return toImage(true, 0);
-}
-
/*! \overload
Returns the contents of the color attachment of index \a