From af9ce533100b49e8bc879b557ab830f5d3a18805 Mon Sep 17 00:00:00 2001 From: Christian Meissl Date: Wed, 13 Aug 2025 10:27:41 +0200 Subject: use ScanoutCandidate kind for surfaces this allows to get direct scan-out on surfaces again --- src/layer/mapped.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/layer/mapped.rs') diff --git a/src/layer/mapped.rs b/src/layer/mapped.rs index 5eee37fb..8262bf64 100644 --- a/src/layer/mapped.rs +++ b/src/layer/mapped.rs @@ -195,7 +195,7 @@ impl MappedLayer { (buf_pos + offset.to_f64()).to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, )); } @@ -205,7 +205,7 @@ impl MappedLayer { buf_pos.to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, ); } -- cgit