softpipe: fix incorrect blend func index passed to blend_quad()
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 15:53:48 +0000 (09:53 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 15:56:57 +0000 (09:56 -0600)
commit7a5a0b205eb31ba72e5313b783b8815bcf8fa833
tree07a4a384e2232d84416b0633904ef69fdffe9b4c
parentfbc6c316d27cb256677991af9ca88521edd7e6a1
softpipe: fix incorrect blend func index passed to blend_quad()

Need to pass the index indicating which blend terms to use, not which
color buffer we're blending into.

Rename the parameter to blend_quad() and add comments to be more clear
about this.
src/gallium/drivers/softpipe/sp_quad_blend.c