Module: wine Branch: master Commit: a911bff8fda1b9d1d2f576823de74c7e6adae5d2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a911bff8fda1b9d1d2f576823d...
Author: Henri Verbeet hverbeet@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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) {