Stefan Dösinger (@stefan) commented about dlls/d3d8/tests/device.c:
IDirect3D8_Release(d3d);
}
+static void test_min_mag_mip_filter_validate(void) +{
- static const D3DTEXTUREFILTERTYPE filters[] = {D3DTEXF_NONE, D3DTEXF_POINT, D3DTEXF_LINEAR, D3DTEXF_ANISOTROPIC};
I am curious: Does native d3d8 maybe accept every possible filter value? What if you set it to e.g. 0xdeadbeef?
For consistency I'd prefer a port of d3d9's test_filter(), obviously with different expected return values. The loop iterating over all possible combinations makes a point though.