Skip to content

Commit

Permalink
Update smithay
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 authored and Drakulix committed Jan 8, 2024
1 parent 9ce6a87 commit b2b718d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ debug = true
lto = "fat"

[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "1ebe4e8" }
smithay = { git = "https://github.com/smithay//smithay", rev = "f6a33e4" }
9 changes: 7 additions & 2 deletions src/wayland/protocols/drm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@ where
return;
}

let mut dma = Dmabuf::builder((width, height), format, DmabufFlags::empty());
dma.add_plane(name, 0, offset0 as u32, stride0 as u32, Modifier::Invalid);
let mut dma = Dmabuf::builder(
(width, height),
format,
Modifier::Invalid,
DmabufFlags::empty(),
);
dma.add_plane(name, 0, offset0 as u32, stride0 as u32);
match dma.build() {
Some(dmabuf) => {
match state.dmabuf_imported(&data.dmabuf_global, dmabuf.clone()) {
Expand Down

0 comments on commit b2b718d

Please sign in to comment.