mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
renderer_vulkan: Fix MSAA framebuffer target resolve surface
Use the specified type rather than defaulting to the surface's current one(implicit `ImageView` argument).
This commit is contained in:
parent
a73c8c7c86
commit
e90cbba7e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1477,7 +1477,7 @@ vk::Framebuffer Surface::Framebuffer(Type type) noexcept {
|
|||
boost::container::small_vector<vk::ImageView, 2> image_views;
|
||||
if (sample_count > 1) {
|
||||
// Main surface + MSAA surface
|
||||
image_views.emplace_back(ImageView(ViewType::Mip0));
|
||||
image_views.emplace_back(ImageView(ViewType::Mip0, type));
|
||||
image_views.emplace_back(ImageView(ViewType::Mip0, Type::MultiSampled));
|
||||
} else {
|
||||
image_views.emplace_back(ImageView(ViewType::Mip0, type));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue