d3d9: Improve CheckDeviceState stub to run Firefox 4 Beta 7

Lats lats at yless4u.com.au
Thu Nov 11 15:30:37 CST 2010


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?



More information about the wine-patches mailing list