meta: Do power of two samples check only for samples > 0
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 1 Jan 2001 00:05:42 +0000 (16:05 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 25 Feb 2015 22:10:47 +0000 (14:10 -0800)
commit0a4ea87344a1cbca4c50cfca1efe97202aa18be8
treeb507d8d4383d1df5551bfb8552ff7457e03b5493
parentcb25087c7bd5f1ad2515647278b32d3f07803f77
meta: Do power of two samples check only for samples > 0

otherwise samples=0 passes the check, which is invalid.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/common/meta_blit.c