summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglgradientcache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglgradientcache_p.h')
-rw-r--r--src/gui/opengl/qopenglgradientcache_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/opengl/qopenglgradientcache_p.h b/src/gui/opengl/qopenglgradientcache_p.h
index a2ed85c061..cbdbbb0c54 100644
--- a/src/gui/opengl/qopenglgradientcache_p.h
+++ b/src/gui/opengl/qopenglgradientcache_p.h
@@ -85,8 +85,8 @@ public:
GLuint getBuffer(const QGradient &gradient, qreal opacity);
inline int paletteSize() const { return 1024; }
- void invalidateResource() Q_DECL_OVERRIDE;
- void freeResource(QOpenGLContext *ctx) Q_DECL_OVERRIDE;
+ void invalidateResource() override;
+ void freeResource(QOpenGLContext *ctx) override;
private:
inline int maxCacheSize() const { return 60; }