mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()
authorBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 15:04:14 +0000 (09:04 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 15:05:02 +0000 (09:05 -0600)
commitc8413351c33d5758da057b56a140c9ee622a5e4a
tree1ed14ffbacafe0f45d5c40b9b7322779474181ad
parentca8cafda0b996167647d724ea3da3ec568a9e42f
mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()

We need to check that we can actually render to the texture's format
before doing mipmap generation.

This may fix bug 24219.
src/mesa/drivers/common/meta.c