summaryrefslogtreecommitdiffstats
path: root/src/QtExtras
diff options
context:
space:
mode:
Diffstat (limited to 'src/QtExtras')
-rw-r--r--src/QtExtras/qmlstreamer/q3dsqmlstreamrenderer.cpp2
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();