diff --git a/src/effect/offscreenquickview.cpp b/src/effect/offscreenquickview.cpp index 51920e8417..e9ef560e93 100644 --- a/src/effect/offscreenquickview.cpp +++ b/src/effect/offscreenquickview.cpp @@ -220,7 +220,7 @@ void OffscreenQuickView::update() QOpenGLFramebufferObjectFormat fboFormat; fboFormat.setAttachment(QOpenGLFramebufferObject::CombinedDepthStencil); - fboFormat.setInternalTextureFormat(d->m_hasAlphaChannel ? GL_RGBA8 : GL_RGB8); + fboFormat.setInternalTextureFormat(GL_RGBA8); d->m_fbo = std::make_unique(nativeSize, fboFormat); if (!d->m_fbo->isValid()) {