mesa: remove array size so the static assert can work
authorBrian Paul <brianp@vmware.com>
Sat, 27 Oct 2012 15:13:03 +0000 (09:13 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 29 Oct 2012 23:56:05 +0000 (17:56 -0600)
commitaab0ea935290cdbf6c74e4d001d4bbc8178fc14a
tree96a1e19fca190417a34653adb613c965658e8ab0
parent1e46d810c839c8dcfa4201bbbd2d967011046560
mesa: remove array size so the static assert can work

With the explit NUM_TEXTURE_TARGETS array size, the assertion that
Elements(targets) == NUM_TEXTURE_TARGETS would pass even if elements
were missing.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/shared.c