summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/macros.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-25 06:43:37 -0600
committerBrian Paul <[email protected]>2012-08-29 08:20:58 -0600
commitcf41d7c63aab2289d739c0f9df116caf2cc410e3 (patch)
tree980c62de78155262854a9f33c32c427a6efae7c4 /src/mesa/main/macros.h
parentfd9afb87d81f922ea3c13a5bf2d6b17d06b43424 (diff)
mesa: remove COPY_4V_CAST() macro
Only used in one place, and not really needed.
Diffstat (limited to 'src/mesa/main/macros.h')
-rw-r--r--src/mesa/main/macros.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h
index 411b16d464e..bc4d1a68166 100644
--- a/src/mesa/main/macros.h
+++ b/src/mesa/main/macros.h
@@ -215,15 +215,6 @@ do { \
(DST)[3] = (SRC)[3]; \
} while (0)
-/** Copy a 4-element vector with cast */
-#define COPY_4V_CAST( DST, SRC, CAST ) \
-do { \
- (DST)[0] = (CAST)(SRC)[0]; \
- (DST)[1] = (CAST)(SRC)[1]; \
- (DST)[2] = (CAST)(SRC)[2]; \
- (DST)[3] = (CAST)(SRC)[3]; \
-} while (0)
-
/** Copy a 4-element unsigned byte vector */
#if defined(__i386__)
#define COPY_4UBV(DST, SRC) \