1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 04:08:52 +01:00

[d3d11] Fix derp with anisotropy option

Fixes #4313.
This commit is contained in:
Philip Rebohle 2024-10-02 11:02:06 +02:00
parent 90b036f550
commit 1443e22626

View File

@ -38,7 +38,7 @@ namespace dxvk {
int32_t samplerAnisotropyOption = device->GetOptions()->samplerAnisotropy;
if (samplerAnisotropyOption >= 0 && minFilter == VK_FILTER_LINEAR)
anisotropy = samplerAnisotropyOption > 0;
anisotropy = samplerAnisotropyOption;
info.setAniso(anisotropy);