diff options
| author | Anthony Ruhier <aruhier@mailbox.org> | 2025-02-13 12:09:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 11:09:25 +0000 |
| commit | 5d2b00829484684b619a8c0de6b1d2b1d18d31a9 (patch) | |
| tree | 8f696e39be8f2f7be0699904b8f9baca9a6d989d /src/render/Renderer.hpp | |
| parent | 208f94fe12a30474d6805262524da3da492a0990 (diff) | |
renderer: disable explicit if aquamarine output doesn't support it (#9396) (#9398)
The explicit settings ignore the aquamarine output.supportsExplicit
attribute, which creates glitches on drivers not supporting explicit
sync (example: freedreno).
If the output has been set as not supporting explicit, disable the
explicit settings.
Diffstat (limited to 'src/render/Renderer.hpp')
| -rw-r--r-- | src/render/Renderer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.hpp b/src/render/Renderer.hpp index e64d41c1..731ed926 100644 --- a/src/render/Renderer.hpp +++ b/src/render/Renderer.hpp @@ -75,7 +75,7 @@ class CHyprRenderer { bool isNvidia(); void makeEGLCurrent(); void unsetEGL(); - SExplicitSyncSettings getExplicitSyncSettings(); + SExplicitSyncSettings getExplicitSyncSettings(SP<Aquamarine::IOutput> output); void addWindowToRenderUnfocused(PHLWINDOW window); void makeWindowSnapshot(PHLWINDOW); void makeRawWindowSnapshot(PHLWINDOW, CFramebuffer*); |
