1
0
Fork 0
forked from wry/wry

text: use udmabuf for text upload

This commit is contained in:
Julian Orth 2025-10-01 14:05:33 +02:00
parent 5758e16658
commit c008b7ea35
12 changed files with 301 additions and 80 deletions

View file

@ -287,7 +287,7 @@ impl WlBuffer {
if *udmabuf_impossible {
return Ok(None);
}
let Some(dev) = self.client.state.udmabuf() else {
let Some(dev) = self.client.state.udmabuf.get() else {
return Ok(None);
};
let mask = page_size() - 1;