[1/3][try 2] wined3d: change colorkey fixup for stage 0 alphaop / alphaarg

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


This satisfies apps that want to perform blending effects with color keyed 
textures and alpha from diffuse color. Diffuse alpha is modulated with texture 
alpha instead of ignoring diffuse and using texture alpha only. Needed by Aliens 
vs Predator 1.
---
  dlls/wined3d/state.c |   30 ++++++++++++++++++++++++++----
  1 files changed, 26 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9d0d938d450483be6fd43b1f0ada89765afcd395.diff
Type: text/x-patch
Size: 2595 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080109/8dcad1cd/attachment.bin 


More information about the wine-patches mailing list