From 10906e6b8e8e90b738ac12c3ce60f3f2b404222d Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 4 Aug 2009 08:30:21 +0200 Subject: [PATCH] wined3d: Set the initial value of WINED3DTEXSTA_MAXANISOTROPY to 1. --- dlls/wined3d/basetexture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c index cfa8d0531a..29fc3331c6 100644 --- a/dlls/wined3d/basetexture.c +++ b/dlls/wined3d/basetexture.c @@ -242,7 +242,7 @@ HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surfac states[WINED3DTEXSTA_MINFILTER] = WINED3DTEXF_POINT; /* GL_NEAREST_MIPMAP_LINEAR */ states[WINED3DTEXSTA_MIPFILTER] = WINED3DTEXF_LINEAR; /* GL_NEAREST_MIPMAP_LINEAR */ states[WINED3DTEXSTA_MAXMIPLEVEL] = 0; - states[WINED3DTEXSTA_MAXANISOTROPY] = 0; + states[WINED3DTEXSTA_MAXANISOTROPY] = 1; states[WINED3DTEXSTA_SRGBTEXTURE] = 0; states[WINED3DTEXSTA_ELEMENTINDEX] = 0; states[WINED3DTEXSTA_DMAPOFFSET] = 0; -- 2.32.0.93.g670b81a890