H. Verbeet : wined3d: Get rid of the oneToOneTexUnitMap field.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 29 08:14:57 CDT 2007


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Thu Jun 28 23:32:59 2007 +0200

wined3d: Get rid of the oneToOneTexUnitMap field.

---

 dlls/wined3d/device.c          |    1 -
 dlls/wined3d/wined3d_private.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 947038a..ed6b6f9 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1819,7 +1819,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR
             This->rev_tex_unit_map[state] = -1;
         }
     }
-    This->oneToOneTexUnitMap = TRUE;
 
     /* Setup the implicit swapchain */
     TRACE("Creating implicit swapchain\n");
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 135114f..77978a3 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -727,7 +727,6 @@ struct IWineD3DDeviceImpl
     DWORD                     texUnitMap[MAX_COMBINED_SAMPLERS];
     DWORD                     rev_tex_unit_map[MAX_COMBINED_SAMPLERS];
     BOOL                      fixed_function_usage_map[MAX_TEXTURES];
-    BOOL                      oneToOneTexUnitMap;
 
     /* Stream source management */
     WineDirect3DVertexStridedData strided_streams;




More information about the wine-cvs mailing list