Rename surf variable to surface
This commit is contained in:
parent
fe0de182c5
commit
0c7ca2b635
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ impl Compositor {
|
||||||
|
|
||||||
let format = compatible_surface
|
let format = compatible_surface
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.and_then(|surf| surf.get_preferred_format(&adapter))?;
|
.and_then(|surface| surface.get_preferred_format(&adapter))?;
|
||||||
|
|
||||||
let (device, queue) = adapter
|
let (device, queue) = adapter
|
||||||
.request_device(
|
.request_device(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue