We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0ed2b commit 55694f8Copy full SHA for 55694f8
src/hooks_graphics.cpp
@@ -352,7 +352,7 @@ class AnisotropicFiltering : public Hook
352
{
353
int Sampler = ctx.ebp;
354
355
- Game::D3DDevice()->SetSamplerState(Sampler, D3DSAMP_MAXANISOTROPY, 16);
+ Game::D3DDevice()->SetSamplerState(Sampler, D3DSAMP_MAXANISOTROPY, Settings::AnisotropicFiltering);
356
}
357
358
inline static SafetyHookMid dest_hook2 = {};
@@ -364,7 +364,7 @@ class AnisotropicFiltering : public Hook
364
365
ctx.esi = D3DTEXF_ANISOTROPIC;
366
367
368
369
370
0 commit comments