From d786094fb9958fb7b8e519461737ac7c50e1872d Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 11 Jul 2024 20:42:03 +0200 Subject: [PATCH] stuff --- src/helpers/Monitor.cpp | 1 - src/render/OpenGL.cpp | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index ef3facf6..077edff1 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -839,6 +839,5 @@ bool CMonitorState::updateSwapchain() { options.scanout = true; options.length = 2; options.size = MODE->pixelSize; - options.multigpu = m_pOwner->output->swapchain->getAllocator()->drmFD() != g_pCompositor->m_iDRMFD; return m_pOwner->output->swapchain->reconfigure(options); } diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 6a632e20..5326442d 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -530,12 +530,6 @@ bool CHyprOpenGLImpl::passRequiresIntrospection(CMonitor* pMonitor) { static auto PBLURSPECIAL = CConfigValue("decoration:blur:special"); static auto PBLURPOPUPS = CConfigValue("decoration:blur:popups"); - // multigpu destination - if (pMonitor->output->swapchain->getAllocator()->drmFD() != g_pCompositor->m_iDRMFD) { - Debug::log(TRACE, "passRequiresIntrospection: multigpu target, forcing"); - return true; - } - if (m_RenderData.mouseZoomFactor != 1.0 || g_pHyprRenderer->m_bCrashingInProgress) return true;