internal cleanup: simplify free_graphics_resources trait signature

This allows then routing the call through window::Window's Deref impl
This commit is contained in:
Simon Hausmann 2021-07-20 16:19:29 +02:00
parent 2d2afad670
commit 68626e27fb
4 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@ impl PlatformWindow for TestingWindow {
}
fn free_graphics_resources<'a>(
self: Rc<Self>,
&self,
_items: &Slice<'a, Pin<sixtyfps_corelib::items::ItemRef<'a>>>,
) {
}