diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp index a19e169412..202bbaad0f 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp @@ -121,7 +121,7 @@ std::unique_ptr VKTexture::CreateAdopted(const TextureConfig& tex_con { std::unique_ptr texture = std::make_unique( 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;