diff options
Diffstat (limited to 'softwarecontext/pixmaptexture.cpp')
-rw-r--r-- | softwarecontext/pixmaptexture.cpp | 5 |
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 { |