wined3d: Use the correct enum.

This commit is contained in:
Stefan Dösinger 2009-09-19 15:00:37 +02:00 committed by Alexandre Julliard
parent 5b5e3bd0d2
commit 529e6737d3
1 changed files with 3 additions and 3 deletions

View File

@ -451,9 +451,9 @@ void basetexture_apply_state_changes(IWineD3DBaseTexture *iface,
}
}
if ((gl_tex->states[WINED3DSAMP_MAGFILTER] != WINED3DTEXF_ANISOTROPIC
&& gl_tex->states[WINED3DSAMP_MINFILTER] != WINED3DTEXF_ANISOTROPIC
&& gl_tex->states[WINED3DSAMP_MIPFILTER] != WINED3DTEXF_ANISOTROPIC)
if ((gl_tex->states[WINED3DTEXSTA_MAGFILTER] != WINED3DTEXF_ANISOTROPIC
&& gl_tex->states[WINED3DTEXSTA_MINFILTER] != WINED3DTEXF_ANISOTROPIC
&& gl_tex->states[WINED3DTEXSTA_MIPFILTER] != WINED3DTEXF_ANISOTROPIC)
|| cond_np2)
{
aniso = 1;