mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Use proper view type of framebuffer images
This commit is contained in:
parent
7b354fa7ac
commit
4173a8f545
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ std::unique_ptr<VKTexture> VKTexture::CreateAdopted(const TextureConfig& tex_con
|
|||
{
|
||||
std::unique_ptr<VKTexture> texture = std::make_unique<VKTexture>(
|
||||
tex_config, nullptr, image, layout, ComputeImageLayout::Undefined);
|
||||
if (!texture->CreateView(VK_IMAGE_VIEW_TYPE_2D_ARRAY))
|
||||
if (!texture->CreateView(view_type))
|
||||
return nullptr;
|
||||
|
||||
return texture;
|
||||
|
|
Loading…
Add table
Reference in a new issue