test: Fix bug in color_correct() in composite.c
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 7 Mar 2010 15:31:04 +0000 (10:31 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 11 Oct 2010 16:06:20 +0000 (12:06 -0400)
commitfe411cf2ac4d5b26a319b906dee87e0cc69d2ad6
tree8a9d361d411cc7b3b89659e07b5e9e9106b38f96
parent4e89a5b7f3b039fcc86dff7fb8bec79884c913e8
test: Fix bug in color_correct() in composite.c

This function was using the number of bits in a channel as if it were
a mask, which lead to many spurious errors. With that fixed, we can
turn on testing for all formats where all channels have 5 or more
bits.

Cc: chris@chris-wilson.co.uk
test/composite.c