[3/3] wined3d: Get rid of the oneToOneTexUnitMap field
H. Verbeet
hverbeet at gmail.com
Thu Jun 28 16:32:59 CDT 2007
We don't use this anymore.
Changelog:
- Get rid of the oneToOneTexUnitMap field
-------------- next part --------------
---
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-patches
mailing list