Henri Verbeet : wined3d: Set the initial value of WINED3DTEXSTA_MAXANISOTROPY to 1.
Alexandre Julliard
julliard at winehq.org
Tue Aug 4 12:25:01 CDT 2009
Module: wine
Branch: master
Commit: 10906e6b8e8e90b738ac12c3ce60f3f2b404222d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=10906e6b8e8e90b738ac12c3ce60f3f2b404222d
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Aug 4 08:30:21 2009 +0200
wined3d: Set the initial value of WINED3DTEXSTA_MAXANISOTROPY to 1.
---
dlls/wined3d/basetexture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c
index cfa8d05..29fc333 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;
More information about the wine-cvs
mailing list