aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/textureprovider/etcprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/textureprovider/etcprovider.h')
-rw-r--r--examples/quick/textureprovider/etcprovider.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/quick/textureprovider/etcprovider.h b/examples/quick/textureprovider/etcprovider.h
index 44d5d6f53e..7de03e0955 100644
--- a/examples/quick/textureprovider/etcprovider.h
+++ b/examples/quick/textureprovider/etcprovider.h
@@ -78,13 +78,14 @@ public:
EtcTexture();
~EtcTexture();
- void bind();
+ void bind() override;
- QSize textureSize() const { return m_size; }
- int textureId() const;
+ QSize textureSize() const override { return m_size; }
+ int textureId() const override;
+ int comparisonKey() const override;
- bool hasAlphaChannel() const { return false; }
- bool hasMipmaps() const { return false; }
+ bool hasAlphaChannel() const override { return false; }
+ bool hasMipmaps() const override { return false; }
QByteArray m_data;
QSize m_size;