mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-13 08:06:12 +01:00
Minor code review
This commit is contained in:
@@ -647,8 +647,6 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
wchar_t ext[_MAX_EXT];
|
wchar_t ext[_MAX_EXT];
|
||||||
_wsplitpath_s(szOutputFile, nullptr, 0, nullptr, 0, nullptr, 0, 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);
|
CrossFileType = LookupByName(ext, g_pExtFileTypes);
|
||||||
|
|
||||||
switch (dwCommand)
|
switch (dwCommand)
|
||||||
|
|||||||
@@ -290,6 +290,11 @@ const SValue g_pReadOnlyFormats [] =
|
|||||||
DEFFMT(420_OPAQUE),
|
DEFFMT(420_OPAQUE),
|
||||||
DEFFMT(NV11),
|
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 }
|
{ nullptr, DXGI_FORMAT_UNKNOWN }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user