diff options
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r-- | src/opengl/qglframebufferobject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h index 2382145da1..009254c903 100644 --- a/src/opengl/qglframebufferobject.h +++ b/src/opengl/qglframebufferobject.h @@ -78,7 +78,7 @@ public: QImage toImage() const; Attachment attachment() const; - QPaintEngine *paintEngine() const; + QPaintEngine *paintEngine() const Q_DECL_OVERRIDE; GLuint handle() const; static bool bindDefault(); @@ -95,8 +95,8 @@ public: GLenum filter = GL_NEAREST); protected: - int metric(PaintDeviceMetric metric) const; - int devType() const { return QInternal::FramebufferObject; } + int metric(PaintDeviceMetric metric) const Q_DECL_OVERRIDE; + int devType() const Q_DECL_OVERRIDE { return QInternal::FramebufferObject; } private: Q_DISABLE_COPY(QGLFramebufferObject) |