Commit c7d9c4a8 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

d3dx9_36: Use debugstr_fourcc instead of debugstr_an.

parent a23d21a9
...@@ -214,7 +214,7 @@ const struct pixel_format_desc *get_format_info(D3DFORMAT format) ...@@ -214,7 +214,7 @@ const struct pixel_format_desc *get_format_info(D3DFORMAT format)
unsigned int i = 0; unsigned int i = 0;
while(formats[i].format != format && formats[i].format != D3DFMT_UNKNOWN) i++; while(formats[i].format != format && formats[i].format != D3DFMT_UNKNOWN) i++;
if (formats[i].format == D3DFMT_UNKNOWN) if (formats[i].format == D3DFMT_UNKNOWN)
FIXME("Unknown format %#x (as FOURCC %s).\n", format, debugstr_an((const char *)&format, 4)); FIXME("Unknown format %s.\n", debugstr_fourcc(format));
return &formats[i]; return &formats[i];
} }
......
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