Ignore unsupported texture DDS type rather than crash
Grimrukh opened this issue · comments
Will have to take a look. This looks like one of those places that was left as "bug to fix, we want to see these errors" rather than something we quietly ignore and never hear about.
As of 1.11 should log texture errors instead of crashing. Feel free to reopen if something else goes wrong as a result.
@Philiquaz I believe this issue was fixed in #901.
Also, about the GetPixelFormatFromFourCC
function: a few FourCC values are still missing (e.g. BC5S, which is used once in ER IIRC). I'm currently in the process of adding a new DDS decoder to a library, so feel free to copy what I do for converting FourCC to DXGI_FORMAT.
Edit: Damn, seconds too late :)