aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/pixmaptexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softwarecontext/pixmaptexture.cpp')
-rw-r--r--softwarecontext/pixmaptexture.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/softwarecontext/pixmaptexture.cpp b/softwarecontext/pixmaptexture.cpp
index 25fb41a880..d3dd747a9e 100644
--- a/softwarecontext/pixmaptexture.cpp
+++ b/softwarecontext/pixmaptexture.cpp
@@ -24,6 +24,11 @@ PixmapTexture::PixmapTexture(const QImage &image)
{
}
+PixmapTexture::PixmapTexture(const QPixmap &pixmap)
+ : m_pixmap(pixmap)
+{
+}
+
int PixmapTexture::textureId() const
{