[PATCH 3/5] wined3d: Remove some useless code in IWineD3DDeviceImpl_SetLightEnable().
Henri Verbeet
hverbeet at codeweavers.com
Thu Jun 18 02:04:04 CDT 2009
---
dlls/wined3d/device.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 956bb4f..5378568 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -2947,9 +2947,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetLightEnable(IWineD3DDevice *iface, D
struct list *e;
TRACE("(%p) : Idx(%d), enable? %d\n", This, Index, Enable);
- /* Tests show true = 128...not clear why */
- Enable = Enable? 128: 0;
-
LIST_FOR_EACH(e, &This->updateStateBlock->lightMap[Hi]) {
lightInfo = LIST_ENTRY(e, PLIGHTINFOEL, entry);
if(lightInfo->OriginalIndex == Index) break;
--
1.6.0.6
More information about the wine-patches
mailing list