mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
d3dx9: Print a FIXME when encountering an unknown surface format.
This commit is contained in:
parent
c385a93505
commit
b17fd2a3af
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue