mesa: consolidate glTexImage and glCompressedTexImage code
authorBrian Paul <brianp@vmware.com>
Wed, 22 Aug 2012 02:22:27 +0000 (20:22 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 12:18:41 +0000 (06:18 -0600)
commitbdff1dfb398afdc187787b70bb62511ae1edd4ee
treed94746d0389e923aa66e07ac292442bb9b3b91c7
parente93cb4b34fed27eccf291963b5fe2c26cea46251
mesa: consolidate glTexImage and glCompressedTexImage code

There was a lot of similar or duplicated code before.
To minimize this patch's size, use a forward declaration for
compressed_texture_error_check().  Move the function in the next patch.
src/mesa/main/teximage.c