Commit 8f02157b authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

ddraw: Use the debugstr_fourcc function instead of reimplementing it.

parent 6159a501
......@@ -826,12 +826,8 @@ DDRAW_dump_pixelformat(const DDPIXELFORMAT *pf)
TRACE("( ");
DDRAW_dump_pixelformat_flag(pf->dwFlags);
if (pf->dwFlags & DDPF_FOURCC)
TRACE(", dwFourCC code '%c%c%c%c' (0x%08lx) - %lu bits per pixel",
(unsigned char)( pf->dwFourCC &0xff),
(unsigned char)((pf->dwFourCC>> 8)&0xff),
(unsigned char)((pf->dwFourCC>>16)&0xff),
(unsigned char)((pf->dwFourCC>>24)&0xff),
pf->dwFourCC,
TRACE(", dwFourCC code %s - %lu bits per pixel",
debugstr_fourcc(pf->dwFourCC),
pf->dwYUVBitCount);
if (pf->dwFlags & DDPF_RGB)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment