autocommit 2022-04-21 18:25:34 CEST
This commit is contained in:
parent
0d414a5336
commit
32fe8b64ca
8 changed files with 133 additions and 28 deletions
|
|
@ -121,7 +121,7 @@ impl WlDrm {
|
|||
};
|
||||
let formats = ctx.formats();
|
||||
let format = match formats.get(&req.format) {
|
||||
Some(f) => *f,
|
||||
Some(f) => f.format,
|
||||
None => return Err(CreatePrimeBufferError::InvalidFormat(req.format)),
|
||||
};
|
||||
let mut dmabuf = DmaBuf {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue