GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 10 Nov 2004 15:46:52 +0000 (15:46 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 10 Nov 2004 15:46:52 +0000 (15:46 +0000)
commit60909388ab136d849d99eab49e782a53772a618f
tree84a981ea2e79b5e6477d05991119a23efa4429a5
parentf00d7edd746e4d1eec2d497419f21fb3b04f8bd4
GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
and ignored for 1D and 2D images.
Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function.
This change gets propogated to some other routines.
Also added new _mesa_image_address[123]d() convenience functions.
20 files changed:
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/radeon/radeon_subset_bitmap.c
src/mesa/drivers/dri/tdfx/tdfx_pixels.c
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/colortab.c
src/mesa/main/convolve.c
src/mesa/main/dlist.c
src/mesa/main/histogram.c
src/mesa/main/image.c
src/mesa/main/image.h
src/mesa/main/pixel.c
src/mesa/main/polygon.c
src/mesa/main/teximage.c
src/mesa/main/texstore.c
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c