intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.
authorEric Anholt <eric@anholt.net>
Sat, 6 Dec 2008 23:21:47 +0000 (15:21 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 7 Dec 2008 06:41:52 +0000 (22:41 -0800)
commit75b26e18a64b2fb1962e5e49dfaebd257c734ecc
tree1a38736f7928c652353b0fafe7783dd6170c2bdf
parenta0625fa28152db08f026dc9856035c0908060154
intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.

The images aren't mapped at this point, so we want the generic Mesa path for
GenerateMipmapEXT that does the mapping/unmapping for us.  Ideally Mesa would
just call it for us.
src/mesa/drivers/dri/intel/intel_tex_copy.c