diff --git a/src/d3d11/d3d11_sampler.cpp b/src/d3d11/d3d11_sampler.cpp index 27767b5a0..f0cd292f9 100644 --- a/src/d3d11/d3d11_sampler.cpp +++ b/src/d3d11/d3d11_sampler.cpp @@ -106,8 +106,7 @@ namespace dxvk { return E_INVALIDARG; } - if (pDesc->MaxAnisotropy < 0 - || pDesc->MaxAnisotropy > 16) { + if (pDesc->MaxAnisotropy > 16) { return E_INVALIDARG; } else if ((filterBits & 0x40) == 0 /* not anisotropic */) { // Reset anisotropy if it is not used