aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph/util/qsgtexture_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/scenegraph/util/qsgtexture_p.h')
-rw-r--r--src/declarative/scenegraph/util/qsgtexture_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/scenegraph/util/qsgtexture_p.h b/src/declarative/scenegraph/util/qsgtexture_p.h
index 2c142f5746..d504732f35 100644
--- a/src/declarative/scenegraph/util/qsgtexture_p.h
+++ b/src/declarative/scenegraph/util/qsgtexture_p.h
@@ -89,6 +89,7 @@ public:
bool hasMipmaps() const { return m_has_mipmaps; }
void setImage(const QImage &image);
+ const QImage &image() { return m_image; }
virtual void bind();