[PATCH] wined3d: Display state in state_undefined
titan.costa at wanadoo.fr
Wed Feb 17 04:46:00 CST 2010
Henri Verbeet a écrit :
> On 17 February 2010 00:28, Stefan Dösinger <stefan at codeweavers.com> wrote:
>> No, the pipeline part that would implement this(vertex) should set a state
>> handler that prints a WARN for each defined but unimplemented stage.
> Sure, but that doesn't mean you can't catch undefined states as well.
> E.g. something along the lines of the attached patch. The main use
> would be simplifying reporting bugs. The earlier posted debugging
> patch is more extensive of course, but that would require people to
> build with special compile flags if it ever enters wined3d in some
If we could get state_undefined to receive the real state this would
work like a charm.
More information about the wine-devel