[PATCH 3/5] d3dx9: Also print the format as FOURCC in get_format_info().
Henri Verbeet
hverbeet at codeweavers.com
Wed Apr 4 13:37:22 CDT 2012
---
dlls/d3dx9_36/util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c
index 0ed315c..62ff996 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];
}
--
1.7.3.4
More information about the wine-patches
mailing list