diff options
author | José Fonseca <[email protected]> | 2009-11-10 05:22:15 -0800 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-11-10 05:22:15 -0800 |
commit | eef5a0b3a3e03abd1c69649763efc79575df650f (patch) | |
tree | b37d205db021fe749caa00a7b1a3a04d5901d59b /src/gallium/drivers/llvmpipe/lp_state_blend.c | |
parent | cc470bf0ca65592b834c31c662fc795fb7acc58c (diff) |
llvmpipe: Fix derived blend color state.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_blend.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_blend.c b/src/gallium/drivers/llvmpipe/lp_state_blend.c index 3f03bd00571..b2e75d3b14e 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_state_blend.c @@ -76,7 +76,7 @@ void llvmpipe_set_blend_color( struct pipe_context *pipe, for (i = 0; i < 4; ++i) { uint8_t c = float_to_ubyte(blend_color->color[i]); for (j = 0; j < 16; ++j) - llvmpipe->jit_context.blend_color[i*4 + j] = c; + llvmpipe->jit_context.blend_color[i*16 + j] = c; } } |