Mesa (master): mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro

Brian Paul brianp at kemper.freedesktop.org
Wed Sep 21 02:19:52 UTC 2011


Module: Mesa
Branch: master
Commit: 460863ace9cf24b0dc34dd95f6bf4d2871907919
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=460863ace9cf24b0dc34dd95f6bf4d2871907919

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Sep 17 16:17:46 2011 -0600

mesa: remove unused UNCLAMPED_FLOAT_TO_RGB_CHAN() macro

---

 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.




More information about the mesa-commit mailing list