summaryrefslogtreecommitdiff
path: root/t_tsrccoords.c
diff options
context:
space:
mode:
Diffstat (limited to 't_tsrccoords.c')
-rw-r--r--t_tsrccoords.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/t_tsrccoords.c b/t_tsrccoords.c
index 279591d..355880a 100644
--- a/t_tsrccoords.c
+++ b/t_tsrccoords.c
@@ -89,6 +89,14 @@ trans_coords_test(Display *dpy, picture_info *win, picture_info *white,
XImage *image;
int x, y;
+ /* Skip this test when using indexed picture formats because
+ * indexed color comparisons are not implemented in rendercheck
+ * yet.
+ */
+ if (win->format->type == PictTypeIndexed) {
+ return TRUE;
+ }
+
src = create_dot_picture(dpy);
if (src == NULL) {
fprintf(stderr, "couldn't allocate picture for test\n");