[PATCH 02/11] ddraw: Enable lighting only if material is set in d3d_execute_buffer_execute().

Henri Verbeet hverbeet at gmail.com
Thu May 16 13:01:29 CDT 2019


On Wed, 15 May 2019 at 19:37, Paul Gofman <gofmanp at gmail.com> wrote:
> +                            wined3d_device_set_render_state(device->wined3d_device, WINED3D_RS_LIGHTING,
> +                                    op == D3DPROCESSVERTICES_TRANSFORMLIGHT && !!device->material);
The "!!" here is technically redundant, but shouldn't hurt.



More information about the wine-devel mailing list