aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-05-01 22:13:09 +0200
committerMattias Andrée <maandree@kth.se>2017-05-01 22:13:09 +0200
commit925b279f7266a95794b599b481be9f6af7013d1a (patch)
tree55f91f1612840a52c19722bb8b4b26b58f393157 /src
parentUse stdin or stdout (depending on access mode) when opening - (diff)
downloadblind-925b279f7266a95794b599b481be9f6af7013d1a.tar.gz
blind-925b279f7266a95794b599b481be9f6af7013d1a.tar.bz2
blind-925b279f7266a95794b599b481be9f6af7013d1a.tar.xz
blind-to-image: remove left over parameters
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/blind-to-image.c4
1 files changed, 2 insertions, 2 deletions
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
@@ -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);
}
}