slightly better at not messing up the border
This commit is contained in:
parent
a487264f40
commit
631a09b637
1 changed files with 5 additions and 2 deletions
|
@ -2,7 +2,7 @@ use std::{mem, path::PathBuf, sync::Arc};
|
|||
|
||||
use ash::{util::Align, vk, Entry, Instance};
|
||||
use ash_window::enumerate_required_extensions;
|
||||
use librashader::runtime::vk::{FilterChain, FilterChainOptions, VulkanObjects};
|
||||
use librashader::runtime::vk::{FilterChain, FilterChainOptions, FrameOptions, VulkanObjects};
|
||||
use raw_window_handle::RawDisplayHandle;
|
||||
use winit::window::Window;
|
||||
|
||||
|
@ -552,7 +552,10 @@ impl VulkanWindowInner {
|
|||
},
|
||||
self.vulkan_data.draw_command_buffer,
|
||||
self.frame_counter,
|
||||
None,
|
||||
Some(&FrameOptions {
|
||||
clear_history: true,
|
||||
frame_direction: 0,
|
||||
}),
|
||||
)
|
||||
.unwrap();
|
||||
self.frame_counter += 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue