From 4c09b006a5ce84b4707a0b175a800c56a28643f0 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 13 Nov 2024 14:35:02 +0100 Subject: [PATCH] [d3d9] Actually use correct sampler state for anisotropy --- src/d3d9/d3d9_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_state.h b/src/d3d9/d3d9_state.h index 13733170f91..ddd3eaa5f85 100644 --- a/src/d3d9/d3d9_state.h +++ b/src/d3d9/d3d9_state.h @@ -240,7 +240,7 @@ namespace dxvk { , mipFilter(D3DTEXTUREFILTERTYPE(state[D3DSAMP_MIPFILTER])) , mipLodBias(bit::cast(state[D3DSAMP_MIPMAPLODBIAS])) , maxMipLevel(state[D3DSAMP_MAXMIPLEVEL]) - , maxAnisotropy(state[D3DSAMP_MAXMIPLEVEL]) { } + , maxAnisotropy(state[D3DSAMP_MAXANISOTROPY]) { } D3DTEXTUREADDRESS addressU; D3DTEXTUREADDRESS addressV;