[wined3d] D3DCOLOR fixup begin

Raphael fenix at club-internet.fr
Wed Nov 2 17:19:33 CST 2005


Hi,

Changelog:
  - defined D3DCOLOR_B macros to access byte values of D3DCOLOR
  - 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

Todo:
 -  check shader declaration while compiling VShader to value is_color 
parameter (Oliver have you an idea how to do that ?)
  - implement a fixup code for drawPrimitiveSlow and VBO unlock 

Regards,
Raphael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_fixup_cleanup.diff
Type: text/x-diff
Size: 10356 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051103/07abf47f/wined3d_fixup_cleanup.diff


More information about the wine-patches mailing list