summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/shared/fbopaintdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/shared/fbopaintdevice.h')
-rw-r--r--examples/widgets/painting/shared/fbopaintdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/painting/shared/fbopaintdevice.h b/examples/widgets/painting/shared/fbopaintdevice.h
index a46166217b..b2e77a228a 100644
--- a/examples/widgets/painting/shared/fbopaintdevice.h
+++ b/examples/widgets/painting/shared/fbopaintdevice.h
@@ -22,6 +22,7 @@ public:
bool isValid() const { return m_framebufferObject->isValid(); }
GLuint handle() const { return m_framebufferObject->handle(); }
+ GLuint texture();
GLuint takeTexture();
QImage toImage() const;
@@ -36,6 +37,7 @@ public:
private:
QOpenGLFramebufferObject *m_framebufferObject;
+ QOpenGLFramebufferObject *m_resolvedFbo;
QSurface *m_surface;
};