[PATCH] wined3d: Reduce console flood with an Ogre3D Game

Detlef Riekenberg wine.dev at web.de
Tue Jan 24 17:40:49 CST 2012


On Sun, 2012-01-22 at 19:53 +0100, Henri Verbeet wrote: 
> On 22 January 2012 19:44, Detlef Riekenberg <wine.dev at web.de> wrote:
> > -    if (usage & ~handled)
> > +    static DWORD reported_once;
> > +
> > +    if (usage & ~(handled | reported_once))
> > +    {
> > +        reported_once |= (usage & ~handled);
> >         FIXME("Unhandled usage flags %#x.\n", usage & ~handled);
> > +    }
> I don't think so.

Sorry, I have no Idea, what objections do you have.

The code works.

Without my Patch, the console is flooded with:
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x8.

With my Patch, the message is printed only once.
(The app is using native d3dcompiler_42 and d3dx9_42) 

-- 
By by ... Detlef





More information about the wine-devel mailing list