[PATCH] wined3d: IWineD3DDeviceImpl_Clear: list Color parameter in the trace.

H. Verbeet hverbeet at gmail.com
Sat May 19 11:31:25 CDT 2007


On 12/05/07, Erik Inge Bolsø <knan-wine at anduin.net> wrote:
> -    TRACE("(%p) Count (%d), pRects (%p), Flags (%x), Z (%f), Stencil (%d)\n", This,
> -          Count, pRects, Flags, Z, Stencil);
> +    TRACE("(%p) Count (%d), pRects (%p), Flags (%x), Color (%f %f %f %f), Z (%f), Stencil (%d)\n", This,
> +          Count, pRects, Flags, D3DCOLOR_R(Color), D3DCOLOR_G(Color), D3DCOLOR_B(Color), D3DCOLOR_A(Color), Z, Stencil);
>
Tracing the color is fine, but there's no reason to convert it do
individual float components. Printing it as 0x%08x should be fine.



More information about the wine-patches mailing list