On Wed, 15 May 2019 at 19:37, Paul Gofman gofmanp@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.