mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:45:59 +01:00
update wlroots dep
This commit is contained in:
parent
39a4f82460
commit
c012e3d66b
2 changed files with 3 additions and 4 deletions
|
@ -76,11 +76,10 @@ CCompositor::CCompositor() {
|
||||||
wlr_renderer_init_wl_shm(m_sWLRRenderer, m_sWLDisplay);
|
wlr_renderer_init_wl_shm(m_sWLRRenderer, m_sWLDisplay);
|
||||||
|
|
||||||
if (wlr_renderer_get_dmabuf_texture_formats(m_sWLRRenderer)) {
|
if (wlr_renderer_get_dmabuf_texture_formats(m_sWLRRenderer)) {
|
||||||
if (wlr_renderer_get_drm_fd(m_sWLRRenderer) >= 0) {
|
if (wlr_renderer_get_drm_fd(m_sWLRRenderer) >= 0)
|
||||||
wlr_drm_create(m_sWLDisplay, m_sWLRRenderer);
|
wlr_drm_create(m_sWLDisplay, m_sWLRRenderer);
|
||||||
}
|
|
||||||
|
|
||||||
m_sWLRLinuxDMABuf = wlr_linux_dmabuf_v1_create(m_sWLDisplay, m_sWLRRenderer);
|
m_sWLRLinuxDMABuf = wlr_linux_dmabuf_v1_create_with_renderer(m_sWLDisplay, 4, m_sWLRRenderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_sWLRAllocator = wlr_allocator_autocreate(m_sWLRBackend, m_sWLRRenderer);
|
m_sWLRAllocator = wlr_allocator_autocreate(m_sWLRBackend, m_sWLRRenderer);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4ff46e6cf9463e594605928feeb7c55cf323b5e7
|
Subproject commit c8eb24d30e18c165728b8788a10716611c3b633d
|
Loading…
Reference in a new issue