mesa: do internal format error checking for glTexStorage()
Turns out we weren't doing any format checking before. Now check the internal format and, in particular, make sure that unsized internal formats aren't accepted. Note: This is a candidate for the stable branches.
Showing with 48 additions and 0 deletions