mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
Fix typo (& instead of &&) to fix olympic.c bug
This commit is contained in:
parent
1a615070ed
commit
2880669853
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ void _tnl_copy_to_current( GLcontext *ctx, struct immediate *IM,
|
|||
if (flag & VERT_BIT_EDGEFLAG)
|
||||
ctx->Current.EdgeFlag = IM->EdgeFlag[count];
|
||||
|
||||
if ((flag & VERT_BIT_COLOR0) & ctx->Light.ColorMaterialEnabled) {
|
||||
if ((flag & VERT_BIT_COLOR0) && ctx->Light.ColorMaterialEnabled) {
|
||||
_mesa_update_color_material(ctx,
|
||||
ctx->Current.Attrib[VERT_ATTRIB_COLOR0]);
|
||||
TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue