[PATCH] ddraw: Set table fog state instead of vertex fog in d3d_device3_SetLightState().

Henri Verbeet hverbeet at gmail.com
Tue May 21 04:55:36 CDT 2019


On Tue, 21 May 2019 at 05:52, Paul Gofman <gofmanp at gmail.com> wrote:
> I am sorry, I am likely wrong about this one. Please disregard this patch, I will do some more testing.
>
For what it's worth:

> On Tue, 21 May 2019 at 02:57, Paul Gofman <gofmanp at gmail.com> wrote:
>> _FOGVERTEXMODE is a d3d7+ state.
>>
That's not in itself an issue though, we implement older ddraw
functionality on top of newer ddraw all the time. The practical
difference between the two is mostly GL_FOG_HINT for fixed-function
OpenGL, and very little with the GLSL backend. Perhaps more
importantly, if you change d3d_device3_SetLightState() you should also
change d3d_device3_GetLightState().



More information about the wine-devel mailing list