st/mesa: don't make a local copy of blend color
This is perfectly safe and nothing bad can happen... and we have also CI. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7940>
This commit is contained in:
parent
a35014954b
commit
e91c6ca5b2
|
@ -304,8 +304,8 @@ void
|
|||
st_update_blend_color(struct st_context *st)
|
||||
{
|
||||
struct pipe_context *pipe = st->pipe;
|
||||
struct pipe_blend_color bc;
|
||||
struct pipe_blend_color *bc =
|
||||
(struct pipe_blend_color *)st->ctx->Color.BlendColorUnclamped;
|
||||
|
||||
COPY_4FV(bc.color, st->ctx->Color.BlendColorUnclamped);
|
||||
pipe->set_blend_color(pipe, &bc);
|
||||
pipe->set_blend_color(pipe, bc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue