compositor: ignore setting surface scanout if DS is disabled

This commit is contained in:
Vaxry
2024-07-21 23:25:20 +02:00
parent 33e933e2a0
commit 672bf1f867
2 changed files with 6 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ static void renderSurface(SP<CWLSurfaceResource> surface, int x, int y, void* da
g_pHyprOpenGL->renderTexture(TEXTURE, &windowBox, ALPHA, rounding, false, true);
}
if (!g_pHyprRenderer->m_bBlockSurfaceFeedback)
if (!g_pHyprRenderer->m_bBlockSurfaceFeedback)
surface->presentFeedback(RDATA->when, RDATA->pMonitor);
g_pHyprOpenGL->blend(true);