mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-14 11:21:20 +00:00
Fix maxAnisotropy validation error
This commit is contained in:
parent
7823aecc57
commit
a5b38596a5
@ -595,6 +595,7 @@ void VulkanContext::initSwapChain(VulkanContext::Window& windowCtx, VkSurfaceKHR
|
||||
samplerInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_REPEAT;
|
||||
samplerInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT;
|
||||
samplerInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT;
|
||||
samplerInfo.maxAnisotropy = 1.f;
|
||||
ThrowIfFailed(vk::CreateSampler(m_dev, &samplerInfo, nullptr, &m_linearSampler));
|
||||
|
||||
/* images */
|
||||
|
Loading…
x
Reference in New Issue
Block a user