allocator: move buffer allocation traits into workspace crate
This commit is contained in:
parent
663cfb3ca3
commit
11940fb6a5
10 changed files with 141 additions and 67 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue