I've enabled anisotropic filtering in my app, and for some reason mip-mapping got enabled as well, despite I didn't enable it.
I enabled anisotropic filtering like this:
dx_dev->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_ANISOTROPIC);
dx_dev->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_ANISOTROPIC);
D3DCAPS9 caps;
dx_dev->GetDeviceCaps(&caps);
dx_dev->SetSamplerState(0, D3DSAMP_MAXANISOTROPY, caps.MaxAnisotropy);
How can I explicitly order the API to disable mip-mapping?
Best regards,
Yours3!f