mesa: Don't assert on the compressed convertformat for GenerateMipmaps.
authorEric Anholt <eric@anholt.net>
Wed, 20 Apr 2011 16:33:59 +0000 (09:33 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 23 Apr 2011 20:14:56 +0000 (13:14 -0700)
commit7d1a2056a84b5af75adf84e34a57e5d75f550139
tree092df5598997926e43b817c0debdd65494f17b2d
parentbc880b8d405e72be29c80e7e7e505f59755a388a
mesa: Don't assert on the compressed convertformat for GenerateMipmaps.

This assertion doesn't make any sense to me -- the convertFormat is
already something valid (tested above), and the BaseFormat dictated by
convertFormat doesn't matter to the function about to be called (it's
the datatype/comps that were pulled out of convertFormat).

Fixes assertion failure in
GL_EXT_texture_compression_rgtc/fbo-generatemipmap-formats

(still has a rendering failure in NPOT like S3TC does).

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mipmap.c