From 460863ace9cf24b0dc34dd95f6bf4d2871907919 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 17 Sep 2011 16:17:46 -0600 Subject: [PATCH] mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro --- src/mesa/main/colormac.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/mesa/main/colormac.h b/src/mesa/main/colormac.h index d64cc8d1c3a..46377ac7c11 100644 --- a/src/mesa/main/colormac.h +++ b/src/mesa/main/colormac.h @@ -96,22 +96,6 @@ #endif -/** - * Convert 3 channels at once. - * - * \param dst pointer to destination GLchan[3] array. - * \param f pointer to source GLfloat[3] array. - * - * \sa #UNCLAMPED_FLOAT_TO_CHAN. - */ -#define UNCLAMPED_FLOAT_TO_RGB_CHAN(dst, f) \ -do { \ - UNCLAMPED_FLOAT_TO_CHAN((dst)[0], (f)[0]); \ - UNCLAMPED_FLOAT_TO_CHAN((dst)[1], (f)[1]); \ - UNCLAMPED_FLOAT_TO_CHAN((dst)[2], (f)[2]); \ -} while (0) - - /** * Convert 4 channels at once. * -- 2.30.2