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;