[Bug 38138] Avencast: Rise of the Mage: invisible doors

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 14 12:34:32 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=38138

--- Comment #7 from Paul Gofman <gofmanp at gmail.com> ---
Created attachment 63279
  --> https://bugs.winehq.org/attachment.cgi?id=63279
Use 8 bit value for D3DRS_ALPHAREF

This is because the game is using alpha test when drawing these doors (with '>'
function) and setting strange 16-bit values for alpha reference value. Native
d3d uses the lower byte only in this case, while Wine currently uses the value
as is. I am attaching a proof of concept patch (which includes the test). The
patch fixes the issue for me. I tested this at the start of tutorial only.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list