mesa: remove unused MAT_INDEX_AMBIENT/DIFFUSE/SPECULAR contants
authorBrian Paul <brianp@vmware.com>
Thu, 18 Jan 2018 19:36:42 +0000 (12:36 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Jan 2018 17:12:49 +0000 (10:12 -0700)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/mtypes.h

index 474b7916ae9f651a5f2e7b2a2adbec2642879e16..03e63002481d72824efe44817ffc25a5d3e4a96b 100644 (file)
@@ -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)