diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Compositor.cpp | 2 | ||||
| -rw-r--r-- | src/includes.hpp | 4 |
2 files changed, 4 insertions, 2 deletions
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 <wlr/util/region.h> #include <xkbcommon/xkbcommon.h> #include <X11/Xproto.h> +#include <wlr/render/gles2.h> } #undef class #undef namespace #undef static - #endif +#include <GLES3/gl32.h> + #include "helpers/Vector2D.hpp" |
