diff options
author | Julian T <julian@jtle.dk> | 2020-03-10 08:55:59 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-03-10 08:55:59 +0100 |
commit | 6ee08c8370f578e59dd4c6bb5f542b469f0d3748 (patch) | |
tree | 05d6b084911602e92b6a7c89c4858b2906259d89 /pgm.h | |
parent | 1f61a690ac1c1ec1b9b15b358925abbd29c487c6 (diff) |
Fixed color_set
Diffstat (limited to 'pgm.h')
-rw-r--r-- | pgm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |