[Mesa-dev] [PATCH 02/17] mesa: remove unused MAT_INDEX_AMBIENT/DIFFUSE/SPECULAR contants
Brian Paul
brianp at vmware.com
Fri Jan 19 17:46:52 UTC 2018
---
src/mesa/main/mtypes.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ec51d41..5fda348 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -291,10 +291,6 @@ struct gl_config
#define MAT_ATTRIB_SHININESS(f)(MAT_ATTRIB_FRONT_SHININESS+(f))
#define MAT_ATTRIB_INDEXES(f) (MAT_ATTRIB_FRONT_INDEXES+(f))
-#define MAT_INDEX_AMBIENT 0
-#define MAT_INDEX_DIFFUSE 1
-#define MAT_INDEX_SPECULAR 2
-
#define MAT_BIT_FRONT_AMBIENT (1<<MAT_ATTRIB_FRONT_AMBIENT)
#define MAT_BIT_BACK_AMBIENT (1<<MAT_ATTRIB_BACK_AMBIENT)
#define MAT_BIT_FRONT_DIFFUSE (1<<MAT_ATTRIB_FRONT_DIFFUSE)
--
2.7.4
More information about the mesa-dev
mailing list