summaryrefslogtreecommitdiffstats
path: root/lib/delegated_frame_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/delegated_frame_node.cpp')
-rw-r--r--lib/delegated_frame_node.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/delegated_frame_node.cpp b/lib/delegated_frame_node.cpp
index c75256542..ad4bb7016 100644
--- a/lib/delegated_frame_node.cpp
+++ b/lib/delegated_frame_node.cpp
@@ -109,12 +109,12 @@ private:
class MailboxTexture : public QSGTexture {
public:
MailboxTexture(const cc::TransferableResource *resource, bool hasAlpha);
- virtual int textureId() const { return m_textureId; }
+ virtual int textureId() const Q_DECL_OVERRIDE { return m_textureId; }
void setTextureSize(const QSize& size) { m_textureSize = size; }
- virtual QSize textureSize() const { return m_textureSize; }
- virtual bool hasAlphaChannel() const { return m_hasAlpha; }
- virtual bool hasMipmaps() const { return false; }
- virtual void bind();
+ virtual QSize textureSize() const Q_DECL_OVERRIDE { return m_textureSize; }
+ virtual bool hasAlphaChannel() const Q_DECL_OVERRIDE { return m_hasAlpha; }
+ virtual bool hasMipmaps() const Q_DECL_OVERRIDE { return false; }
+ virtual void bind() Q_DECL_OVERRIDE;
bool needsToFetch() const { return m_resource; }
const cc::TransferableResource *resource() const { return m_resource; }