Delete debian/patches/0001-Fix-tearing.patch

This commit is contained in:
ferreo 2024-12-06 15:39:38 +01:00
parent b986874037
commit 5d9c9b455e

View File

@ -1,25 +0,0 @@
From cafa3320de70dada2f48cbb8b45f7b42a29da22d Mon Sep 17 00:00:00 2001
From: ferreo <harderthanfire@gmail.com>
Date: Tue, 19 Nov 2024 20:43:53 +0000
Subject: [PATCH] Fix tearing
---
src/render/Renderer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index fc17ef9f..d1d5c250 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -1515,7 +1515,7 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
if (inFD >= 0)
pMonitor->output->state->setExplicitInFence(inFD);
auto explicitOptions = getExplicitSyncSettings();
- if (explicitOptions.explicitEnabled && explicitOptions.explicitKMSEnabled)
+ if (explicitOptions.explicitEnabled && explicitOptions.explicitKMSEnabled && !pMonitor->tearingState.canTear)
pMonitor->output->state->enableExplicitOutFenceForNextCommit();
if (pMonitor->ctmUpdated) {
--
2.45.2