wined3d: Use application provided fog range when fog is enabled.

Stefan Dösinger stefan at
Sun Feb 25 19:36:24 CST 2007

Am Montag 26 Februar 2007 02:03 schrieb Vitaliy Margolen:
> This should fix fog issues with PoP SoT.
> ---
>  dlls/wined3d/state.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
Just wanted to add that this would fix the fixed function Z vs specular color 
alpha selection with table and vertex fog. Vertex shaders seem to be treated 
as transformed vertices.

That said, the way the fixed function pipeline uses was developed by looking 
at what games need. The patch Vitaly sent looks good to me, but if there are 
any regressions I will have to try to write a unit test(though it will be 
tricky due to the pixel exactness thingy)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the wine-devel mailing list