1
0
Fork 0
forked from wry/wry

video: choose render device in the frontend

This commit is contained in:
Julian Orth 2022-11-13 14:00:59 +01:00
parent 049b86f4e2
commit 141997d9d6
2 changed files with 5 additions and 4 deletions

View file

@ -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 {