mesa: allow GL_BITMAP type in _mesa_image_image_stride()
authorBrian Paul <brianp@vmware.com>
Fri, 22 May 2009 15:35:02 +0000 (09:35 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 22 May 2009 15:35:02 +0000 (09:35 -0600)
commit995456f9305593005f8466520314ee087f3d422a
tree0e94c4247d38edd7e6fa3a5898c6286a34a60166
parent42b747e57d4487ee4f0049ab6835b56f22890e97
mesa: allow GL_BITMAP type in _mesa_image_image_stride()

It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D()
which gets converted to RGBA via the glPixelMap tables.

This fixes a failure with piglit/fdo10370 with Gallium.
src/mesa/main/image.c