1
0
Fork 0
forked from wry/wry

screenshots: don't force linear modifier

This commit is contained in:
Julian Orth 2024-09-02 18:01:56 +02:00
parent 940aecab96
commit e11548fd8a
3 changed files with 16 additions and 19 deletions

View file

@ -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 {