wined3d: dirtify colorkey state in IWineD3DDeviceImpl_SetTexture
Stefan Dösinger
stefan at codeweavers.com
Wed Dec 26 14:51:09 CST 2007
Am Donnerstag, 27. Dezember 2007 07:27:21 schrieb Alexander Dorofeyev:
> Hi.
>
> Colorkey emulation by alpha test should be disabled when game sets no
> texture (or texture without colorkey) and reenabled when needed. Dirtifying
> a state here, so that state_alpha will be called, fixes the problem.
In theory the texture stage handler calls the colorkey handler if a color key
change condition is met. Can you check why the call to state_alpha() in
sampler() in state.c, line 2415 isn't called properly?
More information about the wine-patches
mailing list