screenshots: don't force linear modifier
This commit is contained in:
parent
940aecab96
commit
e11548fd8a
3 changed files with 16 additions and 19 deletions
|
|
@ -161,10 +161,6 @@ pub fn buf_to_bytes(
|
|||
buf: &DmaBuf,
|
||||
format: ScreenshotFormat,
|
||||
) -> Result<Vec<u8>, ScreenshotError> {
|
||||
match drm_dev {
|
||||
None => {}
|
||||
Some(_) => {}
|
||||
}
|
||||
let mut allocators =
|
||||
Vec::<Box<dyn FnOnce() -> Result<Rc<dyn Allocator>, ScreenshotError>>>::new();
|
||||
match drm_dev {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue