mesa: consolidate sub-texture error checking code
authorBrian Paul <brianp@vmware.com>
Sat, 22 Sep 2012 15:30:24 +0000 (09:30 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Sep 2012 13:43:49 +0000 (07:43 -0600)
commitd3aa6a5c564a955be6b9af1c58fe1359879b2805
tree0cccd2655bca294bebdcb3943c97435940f71148
parent7e1ad9cd37a7725f1f5f0545a98d97c4c9c1e1de
mesa: consolidate sub-texture error checking code

Do all error checking of glTexSubImage, glCopyTexSubImage and
glCompressedTexSubImage's xoffset, yoffset, zoffset, width, height, and
depth params in one place.
src/mesa/main/teximage.c