diff options
author | Määttä Antti <antti.maatta@qt.io> | 2018-07-25 09:52:04 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2018-08-01 05:53:25 +0000 |
commit | 08587a77805ac33886b09a2919946002248460be (patch) | |
tree | 6d3418009f45054efd258d37fb2eac271f2daea4 /src/QtExtras | |
parent | 777046d35794802e5baf174b943926c7868d00e0 (diff) |
Update window when subpresentations have been loaded
Task-number: QT3DS-2007
Change-Id: If50e5d644388f1eef538300e4efee371a284ffbb
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/QtExtras')
-rw-r--r-- | src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp b/src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp index e93900b5..d50c2d82 100644 --- a/src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp +++ b/src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp @@ -449,6 +449,8 @@ void Q3DSQmlStreamRenderer::render() QOpenGLFunctions *func = context->functions(); GLuint texture = m_frameBuffer->texture(); func->glDisable(GL_DEPTH_TEST); + func->glBlendFuncSeparate(GL_ONE, GL_ONE_MINUS_SRC_ALPHA, + GL_ONE, GL_ONE_MINUS_SRC_ALPHA); if (!m_program) initializeFboCopy(); |