From 5d9c9b455e60c2d6925ff70e3a217cc557869710 Mon Sep 17 00:00:00 2001 From: ferreo Date: Fri, 6 Dec 2024 15:39:38 +0100 Subject: [PATCH] Delete debian/patches/0001-Fix-tearing.patch --- debian/patches/0001-Fix-tearing.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 debian/patches/0001-Fix-tearing.patch diff --git a/debian/patches/0001-Fix-tearing.patch b/debian/patches/0001-Fix-tearing.patch deleted file mode 100644 index 767788e..0000000 --- a/debian/patches/0001-Fix-tearing.patch +++ /dev/null @@ -1,25 +0,0 @@ -From cafa3320de70dada2f48cbb8b45f7b42a29da22d Mon Sep 17 00:00:00 2001 -From: ferreo -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 -