wined3d: Only invalidate the current ffp vertex shader if the light type changed.
commit74c5a22daa1e344fa4b60c71e875605191c65c29
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 29 May 2013 07:45:38 +0000 (29 09:45 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 29 May 2013 10:12:33 +0000 (29 12:12 +0200)
treef0729723bb487620f6993601f67816d76d60188b
parentbdd97858bff48e1b22bd56545bbe4cb4923f646a
wined3d: Only invalidate the current ffp vertex shader if the light type changed.

As opposed to any time a light parameter changed.
dlls/wined3d/device.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/state.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private.h