Henri Verbeet : wined3d: Use debug_color() in wined3d_format_convert_from_float().

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 23 10:27:44 CDT 2016


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun May 22 18:23:11 2016 +0200

wined3d: Use debug_color() in wined3d_format_convert_from_float().

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/utils.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 8769bd7..34d4626 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -4594,8 +4594,7 @@ DWORD wined3d_format_convert_from_float(const struct wined3d_format *format, con
     };
     unsigned int i;
 
-    TRACE("Converting color {%.8e %.8e %.8e %.8e} to format %s.\n",
-            color->r, color->g, color->b, color->a, debug_d3dformat(format->id));
+    TRACE("Converting color %s to format %s.\n", debug_color(color), debug_d3dformat(format->id));
 
     for (i = 0; i < sizeof(conv) / sizeof(*conv); ++i)
     {




More information about the wine-cvs mailing list