texassemble: added -stripmips switch

This commit is contained in:
Chuck Walbourn
2021-03-04 00:21:44 -08:00
parent 01d1a84c05
commit 595b341626
2 changed files with 76 additions and 4 deletions

View File

@@ -2961,7 +2961,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
}
image.swap(timage);
info.mipLevels = image->GetMetadata().mipLevels;
info.mipLevels = 1;
if (cimage && (tMips == 1))
{