Simplify compressed texture handling

It seems like this should work from my readings of the
man pages.
Merge pull request #431 from cmr/master

Simplify compressed texture handling