On 12/05/07, Erik Inge Bolsø <knan-wine(a)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.