swrast: simplify the prototype of function texture_combine
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 18 Nov 2011 01:49:51 +0000 (09:49 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 21 Nov 2011 08:32:29 +0000 (16:32 +0800)
commit6ba8f0688a35ffac93bd025739aefe8e3694ca0c
tree2f94f30480d3ff4623774685126064a3daf6ec07
parent94cd9d6be8980f28fdb6b7a8526814802a90f25d
swrast: simplify the prototype of function texture_combine

Parameter n and rgbaChan are both from structure span, thus using span
as paramter to simplify the prototype. Function texture_combine is only
used by _swrast_texture_span, so I guess it's safe to do so.

This patch is mainly for the next patch.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/swrast/s_texcombine.c