From: Brian Paul Date: Thu, 18 Jan 2018 19:36:42 +0000 (-0700) Subject: mesa: remove unused MAT_INDEX_AMBIENT/DIFFUSE/SPECULAR contants X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3a1aa94d955602988a142d016a63ddc5069a59e;p=mesa.git mesa: remove unused MAT_INDEX_AMBIENT/DIFFUSE/SPECULAR contants Reviewed-by: Roland Scheidegger --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 474b7916ae9..03e63002481 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<