Re: [Mesa-dev] [PATCH] swrast: remove explicit size from texfetch_funcs array

2012-10-30 Thread Kenneth Graunke
On 10/30/2012 08:40 AM, Brian Paul wrote: By removing the array size, the static assertion to check for missing elements can do its job properly. This will catch cases where a new Mesa format is added but the swrast texfetch code isn't updated. --- src/mesa/swrast/s_texfetch.c |2 +- 1 fi

[Mesa-dev] [PATCH] swrast: remove explicit size from texfetch_funcs array

2012-10-30 Thread Brian Paul
By removing the array size, the static assertion to check for missing elements can do its job properly. This will catch cases where a new Mesa format is added but the swrast texfetch code isn't updated. --- src/mesa/swrast/s_texfetch.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)