[PATCH 3/3] ddraw: Port light delete / add test for ddraw1.

Paul Gofman gofmanp at gmail.com
Fri Mar 29 14:03:10 CDT 2019


On 3/29/19 21:51, Henri Verbeet wrote:
> On Thu, 28 Mar 2019 at 15:54, Paul Gofman <gofmanp at gmail.com> wrote:
>> +    hr = IDirect3DViewport_DeleteLight(viewport, light);
>> +    ok(hr == D3D_OK, "Got unexpected hr %#x.\n", hr);
>> +    hr = IDirect3DViewport_AddLight(viewport, light);
>> +    ok(hr == D3D_OK, "Got unexpected hr %#x.\n", hr);
>> +
> No GetLight() for ddraw1?
>
The point of getting the light in ddraw[2,4] tests was to check dwFlags 
field remaining unchanged in D3DLIGHT2 structure, but there is no such a 
field in D3DLIGHT. Or am I missing something?




More information about the wine-devel mailing list