mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
screencopy: allow on legacy renderer
This commit is contained in:
parent
ee85dd6b61
commit
c50df4c0c3
@ -24,11 +24,6 @@ static SScreencopyFrame* frameFromResource(wl_resource*);
|
|||||||
|
|
||||||
CScreencopyProtocolManager::CScreencopyProtocolManager() {
|
CScreencopyProtocolManager::CScreencopyProtocolManager() {
|
||||||
|
|
||||||
#ifndef GLES32
|
|
||||||
Debug::log(WARN, "Screensharing is not supported on LEGACY_RENDERER!");
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
m_pGlobal = wl_global_create(g_pCompositor->m_sWLDisplay, &zwlr_screencopy_manager_v1_interface, SCREENCOPY_VERSION, this, bindManagerInt);
|
m_pGlobal = wl_global_create(g_pCompositor->m_sWLDisplay, &zwlr_screencopy_manager_v1_interface, SCREENCOPY_VERSION, this, bindManagerInt);
|
||||||
|
|
||||||
if (!m_pGlobal) {
|
if (!m_pGlobal) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user