diff options
Diffstat (limited to 'src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp')
-rw-r--r-- | src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp b/src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp index 0af8758a..146d0956 100644 --- a/src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp +++ b/src/Authoring/Studio/Render/StudioSubPresentationRenderer.cpp @@ -321,10 +321,10 @@ void StudioSubpresentationRenderer::RenderWithClear( const SOffscreenRendererEnvironment &inEnvironment, NVRenderContext &inRenderContext, QT3DSVec2 inPresentationScaleFactor, SScene::RenderClearCommand inColorBufferNeedsClear, - QT3DSVec3 inclearColor, + QT3DSVec4 inclearColor, const SRenderInstanceId instanceId) { - inRenderContext.SetClearColor(QT3DSVec4(inclearColor, 1.0)); + inRenderContext.SetClearColor(inclearColor); Render(inEnvironment, inRenderContext, inPresentationScaleFactor, inColorBufferNeedsClear, instanceId); } |