aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/pluginmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softwarecontext/pluginmain.cpp')
-rw-r--r--softwarecontext/pluginmain.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/softwarecontext/pluginmain.cpp b/softwarecontext/pluginmain.cpp
index 192e6225bc..4fcfef0859 100644
--- a/softwarecontext/pluginmain.cpp
+++ b/softwarecontext/pluginmain.cpp
@@ -42,6 +42,7 @@
#include "pluginmain.h"
#include "context.h"
+#include "renderloop.h"
ContextPlugin::ContextPlugin(QObject *parent)
: QSGContextPlugin(parent)
@@ -60,9 +61,9 @@ QSGContext *ContextPlugin::create(const QString &) const
return instance;
}
-QQuickTextureFactory *ContextPlugin::createTextureFactoryFromImage(const QImage &image)
+QSGRenderLoop *ContextPlugin::createWindowManager()
{
- return 0;
+ return new RenderLoop();
}
SoftwareContext::Context *ContextPlugin::instance = 0;