summaryrefslogtreecommitdiffstats
path: root/src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h')
-rw-r--r--src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h b/src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h
index 3ffe15ce..1d27f293 100644
--- a/src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h
+++ b/src/Runtime/Source/engine/Qt3DSRenderRuntimeBindingImpl.h
@@ -118,6 +118,11 @@ namespace render {
m_CoreContext->SetTextRendererCore(
ITextRendererCore::CreateQtTextRenderer(*m_Foundation, *m_StringTable));
+#if QT_VERSION >= QT_VERSION_CHECK(5,12,2)
+ m_CoreContext->setDistanceFieldRenderer(
+ ITextRendererCore::createDistanceFieldRenderer(*m_Foundation));
+#endif
+
m_CoreContext->SetOnscreenTextRendererCore(
ITextRendererCore::CreateOnscreenTextRenderer(*m_Foundation));
}