mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
chore: resolve wgt::Backend::Empty raising unused_qualifications
This commit is contained in:
1 parent
15d64c362e
commit
754ead25ab
1 file changed
+1
-1
@@ -498,7 +498,7 @@ impl Global {
|
||||
|
||||
let id = self
|
||||
.surfaces
|
||||
.prepare(wgt::Backend::Empty, id_in) // No specific backend for Surface, since it's not specific.
|
||||
.prepare(Backend::Empty, id_in) // No specific backend for Surface, since it's not specific.
|
||||
.assign(Arc::new(surface));
|
||||
Ok(id)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user