Delete debian/patches/0001-Fix-tearing.patch
This commit is contained in:
parent
b986874037
commit
5d9c9b455e
25
debian/patches/0001-Fix-tearing.patch
vendored
25
debian/patches/0001-Fix-tearing.patch
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user