summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2021-03-18 12:34:50 +0200
committerTomi Korpipää <tomi.korpipaa@qt.io>2021-03-19 09:41:07 +0000
commit26546034497b075b4d8b74986b0a8cbd410b27dc (patch)
treedc082cfd58af4953933469be0242cef5d55ae0c3
parentb9029d5d7775ea47271c7a1cd379b5ce6808d9ce (diff)
Prevent crashing with latest ogl-runtime
Add nullptr as signalProxy to make it compile. Requires ogl-runtime submodule bump first. Task-number: QT3DS-4223 Change-Id: I4968bc4fef0b874c059f28bdb152615529d31866 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
-rw-r--r--src/Authoring/Qt3DStudio/Render/StudioRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Qt3DStudio/Render/StudioRenderer.cpp b/src/Authoring/Qt3DStudio/Render/StudioRenderer.cpp
index 92c660a1..e2af9606 100644
--- a/src/Authoring/Qt3DStudio/Render/StudioRenderer.cpp
+++ b/src/Authoring/Qt3DStudio/Render/StudioRenderer.cpp
@@ -343,7 +343,7 @@ struct SRendererImpl : public IStudioRenderer,
m_Context = theCore->CreateRenderContext(
m_RenderContext->GetRenderContext(),
m_RenderContext->GetRenderContext().GetStringTable().RegisterStr(
- theResourcePath.c_str()), false);
+ theResourcePath.c_str()), false, nullptr);
// Allow the artist to interact with the top level objects alone.
m_Context->GetRenderer().PickRenderPlugins(false);