[2/3] d3d: fix alpha handling in DirectX6 texture blending mode D3DTBLEND_MODULATE

Alexander Dorofeyev alexd4 at inbox.lv
Thu Jan 10 00:36:19 CST 2008


Native uses texture alpha if texture has alpha in pixelformat and diffuse alpha 
otherwise. These changes implement such behavior (instead of always using 
texture alpha).
---
  dlls/ddraw/device.c          |    3 +--
  dlls/wined3d/state.c         |   23 +++++++++++++++++++++++
  include/wine/wined3d_types.h |    1 +
  3 files changed, 25 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01397a915a153c77d4e9f6fa5029f11ad7fc47ae.diff
Type: text/x-patch
Size: 3632 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080109/9be7ed12/attachment.bin 


More information about the wine-patches mailing list