d3d9: Some Windows drivers do not like reversed fog.
commit22f379ccacccd675a0e9195eb8dcffc305baac6d
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 12 Feb 2008 16:05:40 +0000 (12 17:05 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Feb 2008 13:48:34 +0000 (19 14:48 +0100)
tree65b4ca9ff4d5ad1f60ec30a4bffd1729a62a4398
parent1a906aace73e34f2aa1853c3e019ab4172d12b7b
d3d9: Some Windows drivers do not like reversed fog.

The fog test used start = 0.9 and end = 0.1. This is perfectly ok in
theory, but some Windows drivers do not like it. Since this test tests
how fog is calculated with Vertex and Pixel shaders put the fog range in
the normal order(start = 0.1, end = 0.9), this fixes a number of fog
failures on ATI cards on Windows.
dlls/d3d9/tests/visual.c