Commit b17fd2a3 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dx9: Print a FIXME when encountering an unknown surface format.

parent c385a935
......@@ -151,6 +151,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);
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