Do not select d3dformat according to pfd.

This commit is contained in:
castano 2007-07-17 09:34:06 +00:00
parent 41db8b8c72
commit 2cc70162dd

View File

@ -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;