texconv: Portable Half Map uses .phm extension (#550)

This commit is contained in:
Chuck Walbourn
2024-11-07 14:56:31 -08:00
committed by GitHub
parent 2f37de7165
commit d8e9d5b12a
3 changed files with 7 additions and 4 deletions

View File

@@ -2121,7 +2121,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
continue;
}
}
else if (_wcsicmp(ext.c_str(), L".pfm") == 0)
else if (_wcsicmp(ext.c_str(), L".pfm") == 0 || _wcsicmp(ext.c_str(), L".phm") == 0)
{
hr = LoadFromPortablePixMapHDR(curpath.c_str(), &info, *image);
if (FAILED(hr))