mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 23:46:00 +01:00
screencopy: allow on legacy renderer
This commit is contained in:
parent
ee85dd6b61
commit
c50df4c0c3
1 changed files with 0 additions and 5 deletions
|
@ -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…
Reference in a new issue