diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2020-01-17 15:51:29 +0100 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2020-02-17 08:01:27 +0100 |
commit | f2bbc9c69f5265986dd5574a790e189a7a126c61 (patch) | |
tree | 77affb6415c6b276bcc3e7f17a2e663c189ef82d /src/opengl/qopenglwindow.cpp | |
parent | bd4635009d3ba6ea560bc5f70811fa0afee518fc (diff) |
Move QOpenGLFrameBufferObject from QtGui to QtOpenGL
Task-number: QTBUG-74409
Change-Id: I817ea6f052fc61a6465d443450c8017ac5d0c0e9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl/qopenglwindow.cpp')
-rw-r--r-- | src/opengl/qopenglwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qopenglwindow.cpp b/src/opengl/qopenglwindow.cpp index 5da20dc559..f473d849cf 100644 --- a/src/opengl/qopenglwindow.cpp +++ b/src/opengl/qopenglwindow.cpp @@ -38,13 +38,15 @@ ****************************************************************************/ #include "qopenglwindow.h" -#include <QtGui/QOpenGLFramebufferObject> #include <QtGui/QOpenGLFunctions> #include <QtGui/private/qpaintdevicewindow_p.h> #include <QtGui/private/qopenglextensions_p.h> #include <QtGui/private/qopenglcontext_p.h> #include <QtGui/QMatrix4x4> #include <QtGui/QOffscreenSurface> + +#include <QtOpenGL/private/qopenglframebufferobject_p.h> +#include <QtOpenGL/QOpenGLFramebufferObject> #include <QtOpenGL/QOpenGLTextureBlitter> #include <QtOpenGL/QOpenGLPaintDevice> @@ -508,8 +510,6 @@ GLuint QOpenGLWindow::defaultFramebufferObject() const return 0; } -extern Q_GUI_EXPORT QImage qt_gl_read_framebuffer(const QSize &size, bool alpha_format, bool include_alpha); - /*! Returns a copy of the framebuffer. |