Rename surf variable to surface

This commit is contained in:
Héctor Ramón Jiménez 2021-08-25 15:39:03 +07:00
parent fe0de182c5
commit 0c7ca2b635
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -45,7 +45,7 @@ impl Compositor {
let format = compatible_surface
.as_ref()
.and_then(|surf| surf.get_preferred_format(&adapter))?;
.and_then(|surface| surface.get_preferred_format(&adapter))?;
let (device, queue) = adapter
.request_device(