Ivan Gyurdiev : wined3d: Set correct default for DMAPOFFSET sampler state.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 30 05:22:33 CST 2006


Module: wine
Branch: master
Commit: a648d4e3a3864fd90c143f9414a30d5e9f74b3a9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a648d4e3a3864fd90c143f9414a30d5e9f74b3a9

Author: Ivan Gyurdiev <ivg231 at gmail.com>
Date:   Sat Oct 28 19:55:03 2006 -0400

wined3d: Set correct default for DMAPOFFSET sampler state.

---

 dlls/wined3d/stateblock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 084b43d..e7221a2 100644
--- a/dlls/wined3d/stateblock.c
+++ b/dlls/wined3d/stateblock.c
@@ -1020,7 +1020,7 @@ static HRESULT  WINAPI IWineD3DStateBloc
         This->samplerState[i][WINED3DSAMP_MAXANISOTROPY    ] = 1;
         This->samplerState[i][WINED3DSAMP_SRGBTEXTURE      ] = 0; /* TODO: Gamma correction value*/
         This->samplerState[i][WINED3DSAMP_ELEMENTINDEX     ] = 0; /* TODO: Indicates which element of a  multielement texture to use */
-        This->samplerState[i][WINED3DSAMP_DMAPOFFSET       ] = 256; /* TODO: Vertex offset in the presampled displacement map */
+        This->samplerState[i][WINED3DSAMP_DMAPOFFSET       ] = 0; /* TODO: Vertex offset in the presampled displacement map */
     }
 
     /* Under DirectX you can have texture stage operations even if no texture is




More information about the wine-cvs mailing list