mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
dri/nv04: Fix up color mask.
This commit is contained in:
parent
0a6cfa1668
commit
7b06fdbd33
1 changed files with 5 additions and 1 deletions
|
|
@ -55,7 +55,11 @@ nv04_context_engine(GLcontext *ctx)
|
|||
if ((ctx->Texture.Unit[0]._ReallyEnabled &&
|
||||
texunit_needs_combiners(&ctx->Texture.Unit[0])) ||
|
||||
ctx->Texture.Unit[1]._ReallyEnabled ||
|
||||
ctx->Stencil.Enabled)
|
||||
ctx->Stencil.Enabled ||
|
||||
!(ctx->Color.ColorMask[0][RCOMP] &&
|
||||
ctx->Color.ColorMask[0][GCOMP] &&
|
||||
ctx->Color.ColorMask[0][BCOMP] &&
|
||||
ctx->Color.ColorMask[0][ACOMP]))
|
||||
fahrenheit = hw->eng3dm;
|
||||
else
|
||||
fahrenheit = hw->eng3d;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue