Minor fixes

This commit is contained in:
Lynix
2020-04-26 16:29:39 +02:00
parent e9f0b01e02
commit 494801282d
3 changed files with 4 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ namespace Nz
createInfo.borderColor = VK_BORDER_COLOR_INT_OPAQUE_BLACK;
createInfo.mipmapMode = ToVulkan(samplerInfo.mipmapMode);
if (samplerInfo.anisotropyLevel > 0.f)
if (samplerInfo.anisotropyLevel > 1.f)
{
createInfo.anisotropyEnable = VK_TRUE;
createInfo.maxAnisotropy = samplerInfo.anisotropyLevel;