aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/context.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/context.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp
index f107290f62..a6526335b0 100644
--- a/src/plugins/scenegraph/softwarecontext/context.cpp
+++ b/src/plugins/scenegraph/softwarecontext/context.cpp
@@ -223,13 +223,9 @@ void RenderContext::invalidate()
QSGRenderContext::invalidate();
}
-QSGTexture *RenderContext::createTexture(const QImage &image) const
-{
- return new PixmapTexture(image);
-}
-
-QSGTexture *RenderContext::createTextureNoAtlas(const QImage &image) const
+QSGTexture *RenderContext::createTexture(const QImage &image, uint flags) const
{
+ Q_UNUSED(flags)
return new PixmapTexture(image);
}