summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-28 12:32:26 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-28 12:32:26 +0200
commitcfa6c01df088b93d5ae6042e56740c437516fca5 (patch)
treebffc822f4676453b924e06581a9e5556feac339d /src/Compositor.cpp
parentd413388761c85c1bd153a4bbf8b6f96189cd416a (diff)
remove double drm and dmabuf creation
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 5259ed37..790ef592 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -75,11 +75,6 @@ CCompositor::CCompositor() {
wlr_renderer_init_wl_display(m_sWLRRenderer, m_sWLDisplay);
- if (wlr_renderer_get_dmabuf_texture_formats(m_sWLRRenderer) != NULL) {
- wlr_drm_create(m_sWLDisplay, m_sWLRRenderer);
- m_sWLRDmabuf = wlr_linux_dmabuf_v1_create(m_sWLDisplay, m_sWLRRenderer);
- }
-
m_sWLRAllocator = wlr_allocator_autocreate(m_sWLRBackend, m_sWLRRenderer);
if (!m_sWLRAllocator) {