From 76ac75af8e5481b498981c133836efa2101be2dc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 6 Apr 2009 17:17:52 -0600 Subject: swrast: fix secondary color add for glBitmap Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition. --- src/mesa/swrast/s_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/swrast/s_context.h') diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index b7a17cb28c5..9059f9b5ecb 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -157,6 +157,7 @@ typedef struct GLbitfield NewState; GLuint StateChanges; GLenum Primitive; /* current primitive being drawn (ala glBegin) */ + GLboolean SpecularVertexAdd; /**< Add specular/secondary color per vertex */ void (*InvalidateState)( GLcontext *ctx, GLbitfield new_state ); -- cgit v1.2.3