aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/pixmaptexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'softwarecontext/pixmaptexture.h')
-rw-r--r--softwarecontext/pixmaptexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/softwarecontext/pixmaptexture.h b/softwarecontext/pixmaptexture.h
index 9337376f41..c3ee09dfe1 100644
--- a/softwarecontext/pixmaptexture.h
+++ b/softwarecontext/pixmaptexture.h
@@ -27,6 +27,7 @@ class PixmapTexture : public QSGTexture
Q_OBJECT
public:
PixmapTexture(const QImage &image);
+ PixmapTexture(const QPixmap &pixmap);
virtual int textureId() const;
virtual QSize textureSize() const;