mesa: rework error checking code for glGetCompressedTexImage()
authorBrian Paul <brianp@vmware.com>
Fri, 23 Oct 2009 19:20:03 +0000 (13:20 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Oct 2009 00:31:03 +0000 (18:31 -0600)
commit81a4d34f07d95e6a4bf6ab105efbee4fed116e55
tree64f87a1936bc0687a6b96e44c7fc52a3ab572792
parentd66965c9a1e932444c2538b4221df07fea4c557f
mesa: rework error checking code for glGetCompressedTexImage()

Do all error checking in new getcompressedteximage_error_check() func.
Move some additional PBO checks out of the driver fallbacks into the
error checking functions.
src/mesa/main/texgetimage.c