backends/wayland: Allocate buffers with GBM_USE_SCANOUT too
It most likely doesn't matter in real life as many compositors don't use direct scanout for windowed surfaces, but it won't hurt.
This commit is contained in:
parent
a14998b790
commit
2d71eb720b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ WaylandEglLayerBuffer::WaylandEglLayerBuffer(const QSize &size, uint32_t format,
|
|||
size.width(),
|
||||
size.height(),
|
||||
format,
|
||||
GBM_BO_USE_RENDERING);
|
||||
GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING);
|
||||
}
|
||||
|
||||
if (!m_bo) {
|
||||
|
|
Loading…
Reference in a new issue