diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index bd0867cd1e2..8bbc321297e 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -360,9 +360,9 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetTransform(IWineD3DDevice *iface, D3DTRANS * NOTE2: Apparently texture transforms do NOT need reapplying */ + PLIGHTINFOEL *lightChain = NULL; This->modelview_valid = FALSE; This->view_ident = !memcmp(lpmatrix, identity, 16*sizeof(float)); - PLIGHTINFOEL *lightChain = NULL; glMatrixMode(GL_MODELVIEW); checkGLcall("glMatrixMode(GL_MODELVIEW)");