Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 20, 2024
1 parent 6289612 commit d786094
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/helpers/Monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
6 changes: 0 additions & 6 deletions src/render/OpenGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,6 @@ bool CHyprOpenGLImpl::passRequiresIntrospection(CMonitor* pMonitor) {
static auto PBLURSPECIAL = CConfigValue<Hyprlang::INT>("decoration:blur:special");
static auto PBLURPOPUPS = CConfigValue<Hyprlang::INT>("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;

Expand Down

0 comments on commit d786094

Please sign in to comment.