Merge changes from The Witness.

This commit is contained in:
castano 2012-07-20 16:17:28 +00:00
parent 007b0dfe2d
commit 2571aa28d7

View File

@ -805,7 +805,7 @@ uint DDSHeader::pixelSize() const
return ::pixelSize((DXGI_FORMAT)header10.dxgiFormat);
}
else {
if (flags & DDPF_FOURCC) {
if (pf.flags & DDPF_FOURCC) {
return ::pixelSize((D3DFORMAT)pf.fourcc);
}
else {