backends/wayland: Request wl_shm_buffers with RGB32 format
This commit is contained in:
parent
fc36affdee
commit
09e0fa5eb8
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ WaylandQPainterBufferSlot *WaylandQPainterPrimaryLayer::acquire()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto buffer = m_pool->getBuffer(nativeSize, nativeSize.width() * 4).toStrongRef();
|
auto buffer = m_pool->getBuffer(nativeSize, nativeSize.width() * 4, KWayland::Client::Buffer::Format::RGB32).toStrongRef();
|
||||||
if (!buffer) {
|
if (!buffer) {
|
||||||
qCDebug(KWIN_WAYLAND_BACKEND) << "Did not get a new Buffer from Shm Pool";
|
qCDebug(KWIN_WAYLAND_BACKEND) << "Did not get a new Buffer from Shm Pool";
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Reference in a new issue