Hi,
On one of our development PCs, we encounter a D3D error saying "MAG filter not supported" when D3D9-debug device is used. This is when anisotropic-filtering is used as the mag-filter. When looking in the Directx Caps viewer I find that indeed the D3DPTFILTERCAPS_MAGFANISOTROPIC capability is not supported for that particular card.
Strangely enough, I cannot find any way to query that from within code (other than from a managed D3D application). Both GetDeviceCaps and CheckDeviceFormat don't support this query.
Does anyone if it's possible to poll this cap from code and handle this case gracefully?
Thanks.
On one of our development PCs, we encounter a D3D error saying "MAG filter not supported" when D3D9-debug device is used. This is when anisotropic-filtering is used as the mag-filter. When looking in the Directx Caps viewer I find that indeed the D3DPTFILTERCAPS_MAGFANISOTROPIC capability is not supported for that particular card.
Strangely enough, I cannot find any way to query that from within code (other than from a managed D3D application). Both GetDeviceCaps and CheckDeviceFormat don't support this query.
Does anyone if it's possible to poll this cap from code and handle this case gracefully?
Thanks.