mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
nak: remove unused lifetime
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
23ae567ae6
commit
8a35fc9500
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ pub struct Runner {
|
|||
qmd_heap: QMDHeap,
|
||||
}
|
||||
|
||||
impl<'a> Runner {
|
||||
impl Runner {
|
||||
pub fn new(dev_id: Option<usize>) -> Runner {
|
||||
let dev = Device::new(dev_id).expect("Failed to create nouveau device");
|
||||
let ctx = Context::new(dev.clone()).expect("Failed to create context");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue