From: Brian Paul Date: Sat, 17 Sep 2011 22:17:46 +0000 (-0600) Subject: mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=460863ace9cf24b0dc34dd95f6bf4d2871907919;p=mesa.git mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro --- 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. *