• Raphael Junqueira's avatar
    - defined D3DCOLOR_B macros to access byte values of D3DCOLOR · 74c6321a
    Raphael Junqueira authored
    - use D3DCOLOR macros instead of using shift + masks
    - fix a bug where diffuse.lpData checked instead of specular.lpData
    - implement color fixup on ARB VShader compilation code:
       ->  on input parameters using swizzle
       -> add is_color parameter on vshader_program_add_param
    74c6321a
drawprim.c 69.2 KB