aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <[email protected]>2020-06-11 12:35:04 +0200
committerEskil Abrahamsen Blomfeldt <[email protected]>2020-06-11 22:23:48 +0200
commit2cb24f7054e1105be0dcb1a4d61a5b52d62d1a55 (patch)
tree6e059ba5184c0e7b618a874f581dfc63ed0e3f06 /src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
parent66056aba7b47c147b4cf9fd70a855dd15b8a9eb6 (diff)
Move QSGRenderContext::RenderMode to QSGRendererInterface
We want to be able to use this enum from the public API, so we move it out to a suitable public class. Task-number: QTBUG-84695 Change-Id: I8a3860ecfd0da7990941540bcf39fb0c2bf0ff83 Reviewed-by: Laszlo Agocs <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp')
-rw-r--r--src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
index 4f61e615f6..cb2af431f8 100644
--- a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
+++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
@@ -151,7 +151,7 @@ QSGTexture *QSGSoftwareRenderContext::createTexture(const QImage &image, uint fl
return new QSGSoftwarePixmapTexture(image, flags);
}
-QSGRenderer *QSGSoftwareRenderContext::createRenderer(RenderMode)
+QSGRenderer *QSGSoftwareRenderContext::createRenderer(QSGRendererInterface::RenderMode)
{
return new QSGSoftwareRenderer(this);
}