commit | fc2cf1403860ebc8769dfa36cf7dcdebc1baa305 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Tue Oct 30 15:39:20 2012 |
committer | Brian Paul <brianp@vmware.com> | Wed Oct 31 19:37:11 2012 |
tree | 0def47e9b3c2ac11fbf0aca522ff07939c8a89d8 | |
parent | f69fc3612768d9cfed974b9d6ecf6a70fa0db99c [diff] |
swrast: remove explicit size from texfetch_funcs array 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. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>