aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp2
-rw-r--r--src/plugins/scenegraph/softwarecontext/threadedrenderloop.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
index 23e36bf20d..8ed5a84bc8 100644
--- a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
+++ b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
@@ -1114,4 +1114,6 @@ QImage ThreadedRenderLoop::grab(QQuickWindow *window)
return result;
}
+QT_END_NAMESPACE
+
#include "threadedrenderloop.moc"
diff --git a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
index 7e3bcb2d79..f5c640bb76 100644
--- a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
+++ b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
@@ -23,6 +23,8 @@
#include <private/qsgrenderloop_p.h>
+QT_BEGIN_NAMESPACE
+
class RenderThread;
class ThreadedRenderLoop : public QSGRenderLoop
@@ -94,4 +96,6 @@ private:
bool m_lockedForSync;
};
+QT_END_NAMESPACE
+
#endif // THREADEDRENDERLOOP_H