Rendercheck already prints the intended destination when it tries the
tests. To actually know which test failed the user needs to know the
color format of whatever picture was being tried.

Signed-off-by: Connor Behan <[email protected]>
---
 t_blend.c     | 2 +-
 t_composite.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t_blend.c b/t_blend.c
index 57b2f2d..d522d37 100644
--- a/t_blend.c
+++ b/t_blend.c
@@ -124,7 +124,7 @@ blend_test(Display *dpy, picture_info *win, picture_info 
*dst,
                                                           
dst_color[k]->color.g,
                                                           
dst_color[k]->color.b,
                                                           
dst_color[k]->color.a);
-                                                   printf("src: %s, dst: 
%s\n", src_color[j]->name, dst->name);
+                                                   printf("src: %s, dst: 
%s\n", src_color[j]->name, dst_color[k]->name);
                                                    return FALSE;
                                            }
                                    }
diff --git a/t_composite.c b/t_composite.c
index 73133db..4e38303 100644
--- a/t_composite.c
+++ b/t_composite.c
@@ -155,7 +155,7 @@ composite_test(Display *dpy, picture_info *win, 
picture_info *dst,
                                printf("src: %s, mask: %s, dst: %s\n",
                                       src_color[s]->name,
                                       mask_color[m]->name,
-                                      dst->name);
+                                      dst_color[d]->name);
                                XDestroyImage(image);
                                return FALSE;
                            }
-- 
1.8.5.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to