Commit 6cd85a58 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Fixed the displaying of the FOURCC codes in _dump_pixelformat.

parent c70082fb
......@@ -216,11 +216,12 @@ void _dump_pixelformat(void *in) {
DPRINTF("( ");
_dump_pixelformat_flag(pf->dwFlags);
if (pf->dwFlags & DDPF_FOURCC) {
DPRINTF(", dwFourCC : %c%c%c%c",
(unsigned char)((pf->dwFourCC>>24)&0xff),
(unsigned char)((pf->dwFourCC>>16)&0xff),
DPRINTF(", dwFourCC (%08lx) : %c%c%c%c",
pf->dwFourCC,
(unsigned char)( pf->dwFourCC &0xff),
(unsigned char)((pf->dwFourCC>> 8)&0xff),
(unsigned char)( pf->dwFourCC &0xff)
(unsigned char)((pf->dwFourCC>>16)&0xff),
(unsigned char)((pf->dwFourCC>>24)&0xff)
);
}
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