commit 925b279f7266a95794b599b481be9f6af7013d1a
parent 8c5fcaffb6461ef5706f3dc90653f11eb0065734
Author: Mattias Andrée <maandree@kth.se>
Date: Mon, 1 May 2017 22:13:09 +0200
blind-to-image: remove left over parameters
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/blind-to-image.c b/src/blind-to-image.c
@@ -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];
@@ -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);
}
}