Use two layers for image::atlas only on Gl backend
This commit is contained in:
parent
4272090d36
commit
04df889cac
5 changed files with 46 additions and 24 deletions
|
|
@ -146,7 +146,13 @@ impl Compositor {
|
|||
|
||||
/// Creates a new rendering [`Backend`] for this [`Compositor`].
|
||||
pub fn create_backend(&self) -> Backend {
|
||||
Backend::new(&self.device, &self.queue, self.settings, self.format)
|
||||
Backend::new(
|
||||
&self.adapter,
|
||||
&self.device,
|
||||
&self.queue,
|
||||
self.settings,
|
||||
self.format,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue