mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 08:14:20 +00:00
Remove allocator from window renderer inputs (#2085)
This commit is contained in:
parent
7e09f59345
commit
6de6050764
@ -66,7 +66,6 @@ impl VulkanoWindowRenderer {
|
||||
window: winit::window::Window,
|
||||
descriptor: &WindowDescriptor,
|
||||
swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),
|
||||
memory_allocator: Arc<StandardMemoryAllocator>,
|
||||
) -> VulkanoWindowRenderer {
|
||||
// Create rendering surface from window
|
||||
let surface =
|
||||
@ -89,7 +88,7 @@ impl VulkanoWindowRenderer {
|
||||
compute_queue: vulkano_context.compute_queue().clone(),
|
||||
swapchain: swap_chain,
|
||||
final_views,
|
||||
memory_allocator,
|
||||
memory_allocator: vulkano_context.memory_allocator().clone(),
|
||||
additional_image_views: HashMap::default(),
|
||||
recreate_swapchain: false,
|
||||
previous_frame_end,
|
||||
|
@ -168,7 +168,6 @@ impl VulkanoWindows {
|
||||
winit_window,
|
||||
window_descriptor,
|
||||
swapchain_create_info_modify,
|
||||
vulkano_context.memory_allocator().clone(),
|
||||
),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user