fix view leak and add view count
This commit is contained in:
@@ -264,6 +264,10 @@ impl UiRenderer {
|
||||
label: Some("ui rsc"),
|
||||
})
|
||||
}
|
||||
|
||||
pub fn view_count(&self) -> usize {
|
||||
self.textures.view_count()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct UiLimits {
|
||||
|
||||
Reference in New Issue
Block a user