d3d9: Improve CheckDeviceState stub to run Firefox 4 Beta 7
austinenglish at gmail.com
Thu Nov 11 15:33:01 CST 2010
On Thu, Nov 11, 2010 at 9:30 PM, Lats <lats at yless4u.com.au> wrote:
> 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?
To prevent a flood of FIXME's. The FIXME will only display once,
subsequently, there will be a TRACE for each call.
More information about the wine-devel