call the correct read functions for 32 bit rle expansion

This commit is contained in:
Bill Currie 2003-03-20 23:11:58 +00:00
parent 32257923a5
commit c525bc4925

View file

@ -285,9 +285,9 @@ decode_truecolor_32_rle (TargaHeader *targa, tex_t *tex, byte *dataByte)
setup_pixrow_span (targa, tex, &pixrow, &span);
if (targa->attributes & 0x10)
rle_expand (reverse_read_bgr);
rle_expand (reverse_read_bgra);
else
rle_expand (read_bgr);
rle_expand (read_bgra);
}
struct tex_s *