diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c index f7f3cf11cda..ddb54c35a36 100644 --- a/dlls/d3dx9_36/util.c +++ b/dlls/d3dx9_36/util.c @@ -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]; }