wined3d: Store the directional light direction in the lightDirn field.
commit540130bfa9c0e53fa3c58a8f263fabbdc44f0534
authorMatteo Bruni <mbruni@codeweavers.com>
Mon, 27 Apr 2015 15:39:10 +0000 (27 17:39 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Apr 2015 11:02:18 +0000 (28 20:02 +0900)
treee4fbb8f43674e509e03e238f42dd27b14531146c
parentb5affa6d3c7da3bc7991ea2f2a09167e8a397788
wined3d: Store the directional light direction in the lightDirn field.

It's only an implementation detail that the direction needs to be passed
to the fixed function GL pipeline as GL_POSITION.
dlls/wined3d/device.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/state.c