diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-05 01:06:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-05 01:06:53 +0200 |
commit | a3cddf70d95f238b1fadb1e4c7aa9e7b90cd5b0d (patch) | |
tree | 659a9d05d65a0deeda7459d88041db97df1c3b74 /src/test.c | |
parent | whoops (diff) | |
download | libclut-a3cddf70d95f238b1fadb1e4c7aa9e7b90cd5b0d.tar.gz libclut-a3cddf70d95f238b1fadb1e4c7aa9e7b90cd5b0d.tar.bz2 libclut-a3cddf70d95f238b1fadb1e4c7aa9e7b90cd5b0d.tar.xz |
m test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ int main(int argc, char *argv[]) for (i = 0; i < 256; i++) { - t1.blue[i] = t1.green[i] = t1.red[i] = (uint16_t)(UINT16_MAX - ((i << 8) | i)); + t1.blue[i] = t1.green[i] = t1.red[i] = (uint16_t)(((255 - i) << 8) | (255 - i)); t2.blue[i] = t2.green[i] = t2.red[i] = (uint16_t)(pow((double)i / 255, (double)10 / 11) * UINT16_MAX); } for (i = 0; i < 256; i++) |