Re: [PATCH] wined3d: IWineD3DDeviceImpl_Clear: list Color parameter in the trace.
19 May
2007
19 May
'07
11:31 a.m.
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.
6872
Age (days ago)
6872
Last active (days ago)
0 comments
1 participants
participants (1)
-
H. Verbeet