screencopy: allow on legacy renderer

This commit is contained in:
vaxerski 2023-04-03 23:34:04 +01:00
parent ee85dd6b61
commit c50df4c0c3

View file

@ -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) {