wined3d: Also print the format like a fourcc if unknown in debug_d3dformat.

Jan Zerebecki jan.wine at zerebecki.de
Tue Apr 4 08:34:05 CDT 2006


If this patch is rejected from inclusion, please tell me why, as i would have to
ask anyway.

From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
wined3d: Also print the format like a fourcc if unknown in debug_d3dformat.
---

 dlls/wined3d/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index e9f6366..742ac03 100644
--- 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));
     return "unrecognized";
   }
 }



More information about the wine-patches mailing list