summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 3c7b8ccb..48ca9858 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -72,9 +72,9 @@ 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);
- }
+ 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);