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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick/textureprovider/etcprovider.h b/examples/quick/textureprovider/etcprovider.h
index 08418f8b4b..24570e90e9 100644
--- a/examples/quick/textureprovider/etcprovider.h
+++ b/examples/quick/textureprovider/etcprovider.h
@@ -67,7 +67,7 @@ public:
void bind();
QSize textureSize() const { return m_size; }
- int textureId() const { return m_texture_id; }
+ int textureId() const;
bool hasAlphaChannel() const { return false; }
bool hasMipmaps() const { return false; }
@@ -76,6 +76,7 @@ public:
QSize m_size;
QSize m_paddedSize;
GLuint m_texture_id;
+ bool m_uploaded;
};
#endif // ETCPROVIDER_H