all: use trait upcasting
This commit is contained in:
parent
f0caafc862
commit
09e5f89174
44 changed files with 90 additions and 269 deletions
|
|
@ -14,7 +14,7 @@ use {
|
|||
ImageTiling, ImageType, ImageViewCreateInfo, ImageViewType, SampleCountFlags, SharingMode,
|
||||
},
|
||||
gpu_alloc::UsageFlags,
|
||||
std::{any::Any, cell::Cell, collections::hash_map::Entry, rc::Rc},
|
||||
std::{cell::Cell, collections::hash_map::Entry, rc::Rc},
|
||||
};
|
||||
|
||||
impl VulkanRenderer {
|
||||
|
|
@ -113,8 +113,4 @@ impl VulkanRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
impl GfxBlendBuffer for VulkanImage {
|
||||
fn into_any(self: Rc<Self>) -> Rc<dyn Any> {
|
||||
self
|
||||
}
|
||||
}
|
||||
impl GfxBlendBuffer for VulkanImage {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue