1
0
Fork 0
forked from wry/wry

allocator: move buffer allocation traits into workspace crate

This commit is contained in:
kossLAN 2026-05-29 11:45:26 -04:00
parent 663cfb3ca3
commit 11940fb6a5
No known key found for this signature in database
10 changed files with 141 additions and 67 deletions

View file

@ -58,8 +58,8 @@ impl JayRenderCtx {
}
let allocator = ctx.allocator();
match allocator.drm() {
Some(drm) => match drm.dup_render() {
Ok(d) => fd = Some(d.fd().clone()),
Some(drm) => match drm.dup_render_fd() {
Ok(d) => fd = Some(d),
Err(e) => {
log::error!("Could not dup drm fd: {}", ErrorFmt(e));
}