Re: [Mesa-dev] [PATCH] mesa: simplify some _mesa_IsEnabled() queries

2013-07-01 Thread Chad Versace
On 07/01/2013 07:58 AM, Brian Paul wrote: No need to test array->Enabled != 0 since the Enabled field can only be 0 or 1. --- src/mesa/main/enable.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) Reviewed-by: Chad Versace ___

Re: [Mesa-dev] [PATCH] mesa: simplify some _mesa_IsEnabled() queries

2013-07-01 Thread Matt Turner
On Mon, Jul 1, 2013 at 7:58 AM, Brian Paul wrote: > No need to test array->Enabled != 0 since the Enabled field can > only be 0 or 1. > --- > src/mesa/main/enable.c | 21 +++-- > 1 file changed, 11 insertions(+), 10 deletions(-) > > diff --git a/src/mesa/main/enable.c b/src/mesa

[Mesa-dev] [PATCH] mesa: simplify some _mesa_IsEnabled() queries

2013-07-01 Thread Brian Paul
No need to test array->Enabled != 0 since the Enabled field can only be 0 or 1. --- src/mesa/main/enable.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 5c72b3c..21e5931 100644 --- a/src/mesa/main