summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglpaintdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglpaintdevice.h')
-rw-r--r--src/gui/opengl/qopenglpaintdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
index e1be9b525d..d88992d6db 100644
--- a/src/gui/opengl/qopenglpaintdevice.h
+++ b/src/gui/opengl/qopenglpaintdevice.h
@@ -73,7 +73,9 @@ public:
void setPaintFlipped(bool flipped);
bool paintFlipped() const;
+ virtual void beginPaint();
virtual void ensureActiveTarget();
+ virtual void endPaint();
protected:
int metric(QPaintDevice::PaintDeviceMetric metric) const;