[PATCH 3/3] d3dx9: Add D3DXCreateAnimationController tests (try 3)

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Jan 12 02:33:40 CST 2016


Hi Nikolay,

On 12/01/16 19:20, Nikolay Sivov wrote:
> On 12.01.2016 10:34, Alistair Leslie-Hughes wrote:
>> +if (0) /* Windows crashes when animation is Released */
>> +{
>> +    hr = D3DXCreateAnimationController(0, 0, 0, 0, &animation);
>> +    ok(hr == D3D_OK, "Got unexpected hr returned %#x.\n", hr);
>> +    animation->lpVtbl->Release(animation);
>> +}
>
> Is 'animation' NULL at this point by any chance?
>
No, it returns a valid pointer and just happens to crash when it's released.

Best Regards
Alistair



More information about the wine-devel mailing list