1
0
Fork 0
forked from wry/wry

all: run rustfmt

This commit is contained in:
Julian Orth 2022-05-06 16:47:54 +02:00
parent d2913449ea
commit ce183a0f45
5 changed files with 22 additions and 15 deletions

View file

@ -147,7 +147,13 @@ impl WlDrm {
}
}
let img = ctx.dmabuf_img(&dmabuf)?;
let buffer = Rc::new(WlBuffer::new_dmabuf(req.id, &self.client, format, dmabuf, &img));
let buffer = Rc::new(WlBuffer::new_dmabuf(
req.id,
&self.client,
format,
dmabuf,
&img,
));
track!(self.client, buffer);
self.client.add_client_obj(&buffer)?;
Ok(())