wined3d: Check all the ffp_material fields.
commit2bab1f7250b89021e7c0c246c4594cf919a98c8d
authorMatteo Bruni <mbruni@codeweavers.com>
Mon, 4 May 2015 21:16:12 +0000 (4 23:16 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 May 2015 09:51:00 +0000 (5 18:51 +0900)
treea47e4e1b566ca0d6a63bff3922f5f1921adb25d3
parent0c05f9f8fdfeb9988953aefe643dbde1c19da969
wined3d: Check all the ffp_material fields.

The application can override each material parameter with one of the two
FFP vertex color attributes. The 'ambient' struct field in the GLSL shader
can thus happen to be unused and the GL driver may optimize it away.
dlls/wined3d/glsl_shader.c