diff --git a/src/Compositor.cpp b/src/Compositor.cpp index bdc35f7f..4826d502 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -23,7 +23,7 @@ CCompositor::CCompositor() { return; } - m_sWLRRenderer = wlr_renderer_autocreate(m_sWLRBackend); + m_sWLRRenderer = wlr_gles2_renderer_create_with_drm_fd(DRMFD); if (!m_sWLRRenderer) { Debug::log(CRIT, "m_sWLRRenderer was NULL!"); diff --git a/src/includes.hpp b/src/includes.hpp index 051d6daa..8d52078b 100644 --- a/src/includes.hpp +++ b/src/includes.hpp @@ -74,12 +74,14 @@ extern "C" { #include #include #include +#include } #undef class #undef namespace #undef static - #endif +#include + #include "helpers/Vector2D.hpp"