diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-01 15:02:16 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-01 15:28:50 (GMT) |
commit | cd027ea513ce57939964ee23b522eb1a7c4f9a6c (patch) | |
tree | a2a573aa7c8dc52741ba9ca4d631589e616b68da | |
parent | f88f879954c31e45c2edb1f5a8050673a471c78e (diff) | |
download | Qt-cd027ea513ce57939964ee23b522eb1a7c4f9a6c.zip Qt-cd027ea513ce57939964ee23b522eb1a7c4f9a6c.tar.gz Qt-cd027ea513ce57939964ee23b522eb1a7c4f9a6c.tar.bz2 |
Unambiguated QGLFramebufferObject constructor on Mac OS X.
Reviewed-by: Trond
-rw-r--r-- | src/opengl/qglframebufferobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp index 8fd113a..427aab3 100644 --- a/src/opengl/qglframebufferobject.cpp +++ b/src/opengl/qglframebufferobject.cpp @@ -877,7 +877,7 @@ QImage QGLFramebufferObject::toImage() const // qt_gl_read_framebuffer doesn't work on a multisample FBO if (format().samples() != 0) { - QGLFramebufferObject temp(size()); + QGLFramebufferObject temp(size(), QGLFramebufferObjectFormat()); QRect rect(QPoint(0, 0), size()); blitFramebuffer(&temp, rect, const_cast<QGLFramebufferObject *>(this), rect); |