Vulkan Immediate Drawer: Fix uninitialized flags
This commit is contained in:
parent
4a99b88650
commit
c8e618852b
|
@ -337,6 +337,7 @@ VulkanImmediateDrawer::VulkanImmediateDrawer(VulkanContext* graphics_context)
|
||||||
VkSamplerCreateInfo sampler_info;
|
VkSamplerCreateInfo sampler_info;
|
||||||
sampler_info.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO;
|
sampler_info.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO;
|
||||||
sampler_info.pNext = nullptr;
|
sampler_info.pNext = nullptr;
|
||||||
|
sampler_info.flags = 0;
|
||||||
sampler_info.magFilter = VK_FILTER_NEAREST;
|
sampler_info.magFilter = VK_FILTER_NEAREST;
|
||||||
sampler_info.minFilter = VK_FILTER_NEAREST;
|
sampler_info.minFilter = VK_FILTER_NEAREST;
|
||||||
sampler_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
sampler_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
||||||
|
|
Loading…
Reference in New Issue