diff options
author | Brian Paul <[email protected]> | 2009-04-06 17:17:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-06 17:18:58 -0600 |
commit | 76ac75af8e5481b498981c133836efa2101be2dc (patch) | |
tree | 6c76e0be55e7a6c3a4c5b458ebb2aeeed51e0146 /src/mesa/swrast/s_context.h | |
parent | b4c0e1f9e16ba61acd781ed6cbe448460e2b3153 (diff) |
swrast: fix secondary color add for glBitmap
Also, clean up the logic involved in choosing per-vertex vs. per-fragment
primary+secondary color addition.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r-- | src/mesa/swrast/s_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |