mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-30 05:51:44 +00:00
switch renderer to GLES
This commit is contained in:
parent
14d387ea14
commit
dcd8b49c43
@ -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 New Issue
Block a user