From 6ee08c8370f578e59dd4c6bb5f542b469f0d3748 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 10 Mar 2020 08:55:59 +0100 Subject: Fixed color_set --- pgm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pgm.h') diff --git a/pgm.h b/pgm.h index fbd7f73..5a6621d 100644 --- a/pgm.h +++ b/pgm.h @@ -9,7 +9,7 @@ typedef struct { COORD_T r, g, b; } color_t; -color_t *color_set(color_t *c, uint8_t r, uint8_t g, uint8_t b); +color_t *color_set(color_t *c, COORD_T r, COORD_T g, COORD_T b); color_t *color_scale(color_t *dest, color_t *a, COORD_T b); color_t *color_add(color_t *dest, color_t *a, color_t *b); color_t *color_scale_vector(color_t *dest, color_t *a, vector_t *v); -- cgit v1.2.3