video: choose render device in the frontend
This commit is contained in:
parent
049b86f4e2
commit
141997d9d6
2 changed files with 5 additions and 4 deletions
|
|
@ -1105,10 +1105,6 @@ impl MetalBackend {
|
|||
},
|
||||
});
|
||||
|
||||
if self.ctx.get().is_none() {
|
||||
self.make_render_device(&dev, false);
|
||||
}
|
||||
|
||||
let (connectors, futures) = get_connectors(self, &dev, &resources.connectors)?;
|
||||
|
||||
let slf = Rc::new(MetalDrmDeviceData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue