mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 12:49:47 +01:00
wayland: drop required zwp_linux_dmabuf_v1 version to 4
compatibility reasons, we don't really need 5
This commit is contained in:
parent
7a84686b4a
commit
601f6cf95c
1 changed files with 2 additions and 2 deletions
|
@ -106,9 +106,9 @@ bool Aquamarine::CWaylandBackend::start() {
|
|||
TRACE(backend->log(AQ_LOG_TRACE, std::format(" > binding to global: {} (version {}) with id {}", name, 1, id)));
|
||||
waylandState.shm = makeShared<CCWlShm>((wl_proxy*)wl_registry_bind((wl_registry*)waylandState.registry->resource(), id, &wl_shm_interface, 1));
|
||||
} else if (NAME == "zwp_linux_dmabuf_v1") {
|
||||
TRACE(backend->log(AQ_LOG_TRACE, std::format(" > binding to global: {} (version {}) with id {}", name, 5, id)));
|
||||
TRACE(backend->log(AQ_LOG_TRACE, std::format(" > binding to global: {} (version {}) with id {}", name, 4, id)));
|
||||
waylandState.dmabuf =
|
||||
makeShared<CCZwpLinuxDmabufV1>((wl_proxy*)wl_registry_bind((wl_registry*)waylandState.registry->resource(), id, &zwp_linux_dmabuf_v1_interface, 5));
|
||||
makeShared<CCZwpLinuxDmabufV1>((wl_proxy*)wl_registry_bind((wl_registry*)waylandState.registry->resource(), id, &zwp_linux_dmabuf_v1_interface, 4));
|
||||
if (!initDmabuf()) {
|
||||
backend->log(AQ_LOG_ERROR, "Wayland backend cannot start: zwp_linux_dmabuf_v1 init failed");
|
||||
waylandState.dmabufFailed = true;
|
||||
|
|
Loading…
Reference in a new issue