Henri Verbeet : d3dx9: Also print the format as FOURCC in get_format_info() .

Alexandre Julliard julliard at winehq.org
Thu Apr 5 12:31:45 CDT 2012


Module: wine
Branch: master
Commit: f89d5d05039873c12d900cfb2a779ac95afe3414
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f89d5d05039873c12d900cfb2a779ac95afe3414

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Apr  4 20:37:22 2012 +0200

d3dx9: Also print the format as FOURCC in get_format_info().

---

 dlls/d3dx9_36/util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c
index 0ed315c..62ff996 100644
--- a/dlls/d3dx9_36/util.c
+++ b/dlls/d3dx9_36/util.c
@@ -166,8 +166,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);
+    if (formats[i].format == D3DFMT_UNKNOWN)
+        FIXME("Unknown format %#x (as FOURCC %s).\n", format, debugstr_an((const char *)&format, 4));
     return &formats[i];
 }
 




More information about the wine-cvs mailing list