swrast: simplify the condition test for _swrast_choose_texture_sample_func
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 2 Nov 2011 06:46:06 +0000 (14:46 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 3 Nov 2011 02:24:28 +0000 (10:24 +0800)
commit9f7b6a39f6ebc070ff5020578cea2d299b21d476
treef77fd866679bcb0a0b2e92abf5a7028d56ae897d
parent49f8447acc430944504c658c2d2b4a2ccb3af0bc
swrast: simplify the condition test for _swrast_choose_texture_sample_func

remove another long if condition test. I don't feel a strong need of
this patch. But for it make the code a little simpler(I do think so),
I send it out.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_texfilter.c