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

This commit is contained in:
Matteo Bruni 2011-01-24 21:52:01 +01:00 committed by Alexandre Julliard
parent c385a93505
commit b17fd2a3af
1 changed files with 2 additions and 0 deletions

View File

@ -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];
}