From f89d5d05039873c12d900cfb2a779ac95afe3414 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 4 Apr 2012 20:37:22 +0200 Subject: [PATCH] d3dx9: Also print the format as FOURCC in get_format_info(). --- dlls/d3dx9_36/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c index 0ed315c6a06..62ff99627bc 100644 --- a/dlls/d3dx9_36/util.c +++ b/dlls/d3dx9_36/util.c @@ -166,8 +166,8 @@ const PixelFormatDesc *get_format_info(D3DFORMAT format) { unsigned int i = 0; while(formats[i].format != format && formats[i].format != D3DFMT_UNKNOWN) i++; - if(formats[i].format == D3DFMT_UNKNOWN) - FIXME("Unknown format %#x\n", format); + if (formats[i].format == D3DFMT_UNKNOWN) + FIXME("Unknown format %#x (as FOURCC %s).\n", format, debugstr_an((const char *)&format, 4)); return &formats[i]; }