Minor code review

This commit is contained in:
Chuck Walbourn 2016-09-27 00:04:19 -07:00
parent 787bfa9053
commit 9fb5335cac
2 changed files with 11 additions and 8 deletions

View File

@ -647,8 +647,6 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
wchar_t ext[_MAX_EXT];
_wsplitpath_s(szOutputFile, nullptr, 0, nullptr, 0, nullptr, 0, ext, _MAX_EXT);
wprintf(L"Ext = %ls\n", ext);
CrossFileType = LookupByName(ext, g_pExtFileTypes);
switch (dwCommand)

View File

@ -290,6 +290,11 @@ const SValue g_pReadOnlyFormats [] =
DEFFMT(420_OPAQUE),
DEFFMT(NV11),
// DXGI 1.3 formats
{ L"P208", DXGI_FORMAT(130) },
{ L"V208", DXGI_FORMAT(131) },
{ L"V408", DXGI_FORMAT(132) },
{ nullptr, DXGI_FORMAT_UNKNOWN }
};