Do not select d3dformat according to pfd.

2.0
castano 17 years ago
parent 41db8b8c72
commit 2cc70162dd

@ -373,7 +373,7 @@ void DDSHeader::setPixelFormat(uint bitcount, uint rmask, uint gmask, uint bmask
else if (bitcount < 24) bitcount = 24;
else bitcount = 32;
this->pf.fourcc = findD3DFormat(bitcount, rmask, gmask, bmask, amask);
this->pf.fourcc = 0; //findD3DFormat(bitcount, rmask, gmask, bmask, amask);
this->pf.bitcount = bitcount;
this->pf.rmask = rmask;
this->pf.gmask = gmask;

Loading…
Cancel
Save