From 27289762a392650454942277e15f60d13f187992 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 26 Jan 2023 18:28:06 +0100 Subject: Fix and test libglitter_get_colour_model_conversion_matrix_{double,float} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libglitter_get_colour_model_conversion_matrix_float.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libglitter_get_colour_model_conversion_matrix_float.c') diff --git a/libglitter_get_colour_model_conversion_matrix_float.c b/libglitter_get_colour_model_conversion_matrix_float.c index 771151d..059afaa 100644 --- a/libglitter_get_colour_model_conversion_matrix_float.c +++ b/libglitter_get_colour_model_conversion_matrix_float.c @@ -37,11 +37,9 @@ libglitter_get_colour_model_conversion_matrix_float(float matrix[3][3], float c1 #else -int -main(void) -{ - return 0; /* TODO add test */ -} +#define libglitter_get_colour_model_conversion_matrix_double libglitter_get_colour_model_conversion_matrix_float +#define double float +#include "libglitter_get_colour_model_conversion_matrix_double.c" #endif -- cgit v1.2.3-70-g09d2