wined3d: Fix a condition in record_lights().

This commit is contained in:
Henri Verbeet 2009-08-07 08:51:22 +02:00 committed by Alexandre Julliard
parent 41729ca919
commit 35826e9761
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ static inline void record_lights(IWineD3DStateBlockImpl *This, IWineD3DStateBloc
LIST_FOR_EACH(e, &This->lightMap[i]) {
BOOL updated = FALSE;
PLIGHTINFOEL *src = LIST_ENTRY(e, PLIGHTINFOEL, entry), *realLight;
if(!src->changed || !src->enabledChanged) continue;
if (!src->changed && !src->enabledChanged) continue;
/* Look up the light in the destination */
LIST_FOR_EACH(f, &targetStateBlock->lightMap[i]) {