Re: wined3d: Also print the format like a fourcc if unknown in debug_d3dformat.
4 Apr
2006
4 Apr
'06
1:33 p.m.
Jan Zerebecki <jan.wine(a)zerebecki.de> writes:
--- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -94,7 +94,7 @@ const char* debug_d3dformat(WINED3DFORMA FMT_TO_STR(WINED3DFMT_CxV8U8); #undef FMT_TO_STR default: - FIXME("Unrecognized %u D3DFORMAT!\n", fmt); + FIXME("Unrecognized %u (as fourcc: %s) D3DFORMAT!\n", fmt, debugstr_an((CHAR*)&fmt,4));
Using %c%c%c%c as format would be better than a debugstr hack. -- Alexandre Julliard julliard(a)winehq.org
7195
Age (days ago)
7195
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard