mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
broadcom/vc5: Fix blendfactor zero handling.
I cut the line out to move it up to the top, when putting "0" in the switch made the compiler complain that that wasn't a valid enum.
This commit is contained in:
parent
ffdba7fd4c
commit
5208d2889e
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ vc5_factor(enum pipe_blendfactor factor)
|
|||
|
||||
switch (factor) {
|
||||
case PIPE_BLENDFACTOR_ZERO:
|
||||
return V3D_BLEND_FACTOR_ZERO;
|
||||
case PIPE_BLENDFACTOR_ONE:
|
||||
return V3D_BLEND_FACTOR_ONE;
|
||||
case PIPE_BLENDFACTOR_SRC_COLOR:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue