mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Spelling
This commit is contained in:
@@ -620,13 +620,13 @@ impl Painter {
|
||||
screenshot
|
||||
}
|
||||
|
||||
pub fn clean_surfaces(&mut self, avalibile_viewports: &[ViewportId]) {
|
||||
pub fn clean_surfaces(&mut self, available_viewports: &[ViewportId]) {
|
||||
self.surfaces
|
||||
.retain(|id, _| avalibile_viewports.contains(id));
|
||||
.retain(|id, _| available_viewports.contains(id));
|
||||
self.depth_texture_view
|
||||
.retain(|id, _| avalibile_viewports.contains(id));
|
||||
.retain(|id, _| available_viewports.contains(id));
|
||||
self.msaa_texture_view
|
||||
.retain(|id, _| avalibile_viewports.contains(id));
|
||||
.retain(|id, _| available_viewports.contains(id));
|
||||
}
|
||||
|
||||
#[allow(clippy::unused_self)]
|
||||
|
||||
Reference in New Issue
Block a user