ddraw: Handle mipmapped mag filters by ignoring the mipmap parameter.

This commit is contained in:
Stefan Dösinger 2007-02-15 13:49:34 +01:00 committed by Alexandre Julliard
parent c3d3dcec81
commit 3b3e865366
1 changed files with 2 additions and 0 deletions

View File

@ -2300,9 +2300,11 @@ IDirect3DDeviceImpl_7_SetRenderState(IDirect3DDevice7 *iface,
switch ((D3DTEXTUREFILTER) Value)
{
case D3DFILTER_NEAREST:
case D3DFILTER_LINEARMIPNEAREST:
tex_mag = WINED3DTEXF_POINT;
break;
case D3DFILTER_LINEAR:
case D3DFILTER_LINEARMIPLINEAR:
tex_mag = WINED3DTEXF_LINEAR;
break;
default: