Explicitly preserve buffer contents in EglDmabuf
This commit is contained in:
parent
c737fde3da
commit
c1635c1179
1 changed files with 2 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue