Henri Verbeet : wined3d: Remove some useless code in IWineD3DDeviceImpl_SetLightEnable().
Alexandre Julliard
julliard at winehq.org
Thu Jun 18 09:11:34 CDT 2009
Module: wine
Branch: master
Commit: 9f252cd81590ff6ce93d21a5aadd3dffd05e9845
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f252cd81590ff6ce93d21a5aadd3dffd05e9845
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Jun 18 09:04:04 2009 +0200
wined3d: Remove some useless code in IWineD3DDeviceImpl_SetLightEnable().
---
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;
More information about the wine-cvs
mailing list