Explicitly preserve buffer contents in EglDmabuf

This commit is contained in:
Xaver Hugl 2021-03-20 01:05:26 +01:00
parent c737fde3da
commit c1635c1179

View file

@ -232,6 +232,8 @@ EGLImage EglDmabuf::createImage(const QVector<Plane> &planes,
}
}
attribs << EGL_IMAGE_PRESERVED_KHR << EGL_TRUE;
attribs << EGL_NONE;
EGLImage image = eglCreateImageKHR(m_backend->eglDisplay(),