• Matteo Bruni's avatar
    wined3d: Check all the ffp_material fields. · 2bab1f72
    Matteo Bruni authored
    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.
    2bab1f72
glsl_shader.c 349 KB