d3dx9: Print a FIXME when encountering an unknown surface format.
This commit is contained in:
parent
c385a93505
commit
b17fd2a3af
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue