[Mesa-dev] [PATCH 11/15] mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro

Brian Paul brian.e.paul at gmail.com
Sat Sep 17 15:41:24 PDT 2011


From: Brian Paul <brianp at vmware.com>

---
 src/mesa/main/colormac.h |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/mesa/main/colormac.h b/src/mesa/main/colormac.h
index d64cc8d..46377ac 100644
--- a/src/mesa/main/colormac.h
+++ b/src/mesa/main/colormac.h
@@ -97,22 +97,6 @@
 
 
 /**
- * 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.
  *
  * \param dst pointer to destination GLchan[4] array.
-- 
1.7.3.4



More information about the mesa-dev mailing list