mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
fix NEED_SECONDARY_COLOR for vert/frag progs
This commit is contained in:
parent
85f5e6d7b9
commit
441bab8f17
1 changed files with 4 additions and 4 deletions
|
|
@ -272,10 +272,10 @@ do { \
|
|||
(((CTX)->Light.Enabled && \
|
||||
(CTX)->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) \
|
||||
|| (CTX)->Fog.ColorSumEnabled \
|
||||
|| ((CTX)->VertexProgram._Enabled && \
|
||||
((CTX)->VertexProgram.Current->Base.InputsRead & VERT_BIT_COLOR1)) \
|
||||
|| ((CTX)->FragmentProgram._Enabled && \
|
||||
((CTX)->FragmentProgram.Current->Base.InputsRead & FRAG_BIT_COL1)) \
|
||||
|| ((CTX)->VertexProgram._Current && \
|
||||
((CTX)->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1)) \
|
||||
|| ((CTX)->FragmentProgram._Current && \
|
||||
((CTX)->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_COL1)) \
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue