diff --git a/src/platformsupport/scenes/opengl/egl_dmabuf.cpp b/src/platformsupport/scenes/opengl/egl_dmabuf.cpp index 09e948f096..d235e73926 100644 --- a/src/platformsupport/scenes/opengl/egl_dmabuf.cpp +++ b/src/platformsupport/scenes/opengl/egl_dmabuf.cpp @@ -232,6 +232,8 @@ EGLImage EglDmabuf::createImage(const QVector &planes, } } + attribs << EGL_IMAGE_PRESERVED_KHR << EGL_TRUE; + attribs << EGL_NONE; EGLImage image = eglCreateImageKHR(m_backend->eglDisplay(),