Re: [Mesa-dev] [PATCH] mesa: use ARRAY_SIZE() macro instead of magic number

2013-08-20 Thread Kenneth Graunke
On 08/20/2013 07:23 AM, Brian Paul wrote: --- src/mesa/main/get.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 09b008a..4f6f59a 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -709,7 +709,7 @@ find_custom_v

[Mesa-dev] [PATCH] mesa: use ARRAY_SIZE() macro instead of magic number

2013-08-20 Thread Brian Paul
--- src/mesa/main/get.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 09b008a..4f6f59a 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -709,7 +709,7 @@ find_custom_value(struct gl_context *ctx, const struct val