Fwd: Re: d3d9: Improve CheckDeviceState stub to run Firefox 4 Beta 7

André Hentschel nerv at dawncrow.de
Thu Nov 11 15:42:07 CST 2010


> From: Lats <lats at yless4u.com.au>
> Subject: Re: d3d9: Improve CheckDeviceState stub to run Firefox 4 Beta 7
> Message-Id: <4CDC607D.5070507 at yless4u.com.au>
> Date: Fri, 12 Nov 2010 08:30:37 +1100
> 
> On 11/12/2010 06:35 AM, André Hentschel wrote:
>> +    static int i;
>>
>> -    return WINED3DERR_INVALIDCALL;
>> +    TRACE("iface %p, dst_window %p stub!\n", iface, dst_window);
>> +
>> +    if (!i++)
>> +        FIXME("iface %p, dst_window %p stub!\n", iface, dst_window);
>>
> Can you tell me what is the purpose of introducing the static int i?

It makes the FIXME only display once, so you don't get flooded(just if you want to per trace)


-- 

Best Regards, André Hentschel



More information about the wine-devel mailing list