fix dxt rgba setting

This commit is contained in:
David Rose 2008-08-20 23:21:02 +00:00
parent 790e3f5f97
commit 7db5f2c148

View File

@ -948,9 +948,9 @@ read_dds(istream &in, const string &filename, bool header_only) {
return false;
}
if (header.pf.pf_flags & DDPF_ALPHAPIXELS) {
format = F_rgba;
}
// All of the compressed formats support alpha, even DXT1 (to some
// extent, at least).
format = F_rgba;
} else {
// An uncompressed texture format.