• Stefan Dösinger's avatar
    d3d9: Some Windows drivers do not like reversed fog. · 22f379cc
    Stefan Dösinger authored
    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.
    22f379cc
visual.c 363 KB