mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:45:59 +01:00
switch renderer to GLES
This commit is contained in:
parent
14d387ea14
commit
dcd8b49c43
2 changed files with 4 additions and 2 deletions
|
@ -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!");
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue