diff options
| author | Ganael Laplanche <ganael.laplanche@martymac.org> | 2020-10-07 21:25:29 +0200 |
|---|---|---|
| committer | Ganael Laplanche <ganael.laplanche@martymac.org> | 2020-11-03 07:47:43 +0100 |
| commit | d456e2e391134742c633b0029251f7ca06bb5204 (patch) | |
| tree | f6cd685add2362cf42fd0c1f712fa809948ca71e /Source/Core/VideoBackends/Vulkan/VKTexture.cpp | |
| parent | 0029ca84b07f44e3ce8c80a44fa0285a966b34d3 (diff) | |
Resolve VkDeviceMemory/nullptr type mismatch to fix build on FreeBSD i386
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VKTexture.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VKTexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp index fcff0db404..80c0c4aa86 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp @@ -122,7 +122,7 @@ std::unique_ptr<VKTexture> VKTexture::CreateAdopted(const TextureConfig& tex_con VkImageViewType view_type, VkImageLayout layout) { std::unique_ptr<VKTexture> texture = std::make_unique<VKTexture>( - tex_config, nullptr, image, layout, ComputeImageLayout::Undefined); + tex_config, VkDeviceMemory(VK_NULL_HANDLE), image, layout, ComputeImageLayout::Undefined); if (!texture->CreateView(view_type)) return nullptr; |
