diff options
Diffstat (limited to 'src/gui/kernel/qplatformopenglcontext_qpa.h')
-rw-r--r-- | src/gui/kernel/qplatformopenglcontext_qpa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformopenglcontext_qpa.h b/src/gui/kernel/qplatformopenglcontext_qpa.h index 772fbdf06f..5a838a0909 100644 --- a/src/gui/kernel/qplatformopenglcontext_qpa.h +++ b/src/gui/kernel/qplatformopenglcontext_qpa.h @@ -45,6 +45,7 @@ #include <QtCore/qnamespace.h> #include <QtGui/qsurfaceformat.h> #include <QtGui/qwindow.h> +#include <QtGui/qopengl.h> QT_BEGIN_HEADER @@ -64,6 +65,8 @@ public: virtual void swapBuffers(QPlatformSurface *surface) = 0; + virtual GLuint defaultFramebufferObject(QPlatformSurface *surface) const; + virtual bool makeCurrent(QPlatformSurface *surface) = 0; virtual void doneCurrent() = 0; |