aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-07-26 16:06:33 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-07-26 16:06:33 +0300
commitd7778109110217bf540d4e7ad80a1261ef9f317b (patch)
tree55321b824458ef9444882868a542cb907c8284d1 /src
parentbbdc07ee6c266a8d082f74ec8b47480bca26e3ff (diff)
downloadniri-d7778109110217bf540d4e7ad80a1261ef9f317b.tar.gz
niri-d7778109110217bf540d4e7ad80a1261ef9f317b.tar.bz2
niri-d7778109110217bf540d4e7ad80a1261ef9f317b.zip
pw: Don't require LINEAR buffer
It's not needed and apparently doesn't work on NVIDIA together with the rendering flag.
Diffstat (limited to 'src')
-rw-r--r--src/pw_utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pw_utils.rs b/src/pw_utils.rs
index f9c927ad..8d7d71f1 100644
--- a/src/pw_utils.rs
+++ b/src/pw_utils.rs
@@ -375,7 +375,7 @@ impl PipeWire {
size.w as u32,
size.h as u32,
fourcc,
- GbmBufferFlags::RENDERING | GbmBufferFlags::LINEAR,
+ GbmBufferFlags::RENDERING,
) {
Ok(bo) => bo,
Err(err) => {