diff options
author | 2021-08-25 15:39:03 +0700 | |
---|---|---|
committer | 2021-08-25 15:39:03 +0700 | |
commit | 0c7ca2b635e353a87d1e9732ce739ef2c6e1f9c4 (patch) | |
tree | a3dfc8dff0b592eb659faf7e9085352153b8d432 /wgpu | |
parent | fe0de182c57e3a434026b1937b9a02597263afc3 (diff) | |
download | iced-0c7ca2b635e353a87d1e9732ce739ef2c6e1f9c4.tar.gz iced-0c7ca2b635e353a87d1e9732ce739ef2c6e1f9c4.tar.bz2 iced-0c7ca2b635e353a87d1e9732ce739ef2c6e1f9c4.zip |
Rename `surf` variable to `surface`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/window/compositor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/window/compositor.rs b/wgpu/src/window/compositor.rs index 2aa703e7..bba594ce 100644 --- a/wgpu/src/window/compositor.rs +++ b/wgpu/src/window/compositor.rs @@ -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( |