Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2003 17:17:50 +0000 (17:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2003 17:17:50 +0000 (17:17 +0000)
commit738318bb75dea8dac4465f53850987f6062a732d
tree870a4e1bb830bd65e3cb829c1eb1ee4d97cbeecb
parentb0e90cc839c6b7fcd3bd76759862eb3bc423e50a
Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
and depth checks are done via ctx->Driver.TestProxyTexImage().  This allows
more flexiblity, like supporting larger, non-cubic 3D textures.
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/config.h
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texstore.c
src/mesa/main/texstore.h