commit 925b279f7266a95794b599b481be9f6af7013d1a
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Mon May 1 22:13:09 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Mon May 1 22:13:09 2017 +0200
blind-to-image: remove left over parameters
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/blind-to-image.c b/src/blind-to-image.c
index 7ea1586..534eef3 100644
--- a/src/blind-to-image.c
+++ b/src/blind-to-image.c
_AT_@ -18,7 +18,7 @@ static unsigned long long int max;
static int bytes;
static void
-write_pixel(double R, double G, double B, double A, int bytes, unsigned long long int max)
+write_pixel(double R, double G, double B, double A)
{
unsigned long long int colours[4];
unsigned char buf[4 * 8];
_AT_@ -78,7 +78,7 @@ process_xyza(struct stream *stream, size_t n)
}
ciexyz_to_srgb(X, Y, Z, &R, &G, &B);
- write_pixel(R, G, B, A, bytes, max);
+ write_pixel(R, G, B, A);
}
}
Received on Tue May 02 2017 - 00:11:47 CEST
This archive was generated by hypermail 2.3.0
: Tue May 02 2017 - 00:12:57 CEST