[PATCH 5/5] wined3d: Use debug_color() in wined3d_format_convert_from_float().

Henri Verbeet hverbeet at codeweavers.com
Sun May 22 11:23:11 CDT 2016


Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 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)
     {
-- 
2.1.4




More information about the wine-patches mailing list