mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Updated tools to use TGA_FLAGS parameter
This commit is contained in:
@@ -651,7 +651,7 @@ namespace
|
||||
}
|
||||
else if (_wcsicmp(ext, L".tga") == 0)
|
||||
{
|
||||
return LoadFromTGAFile(fileName, &info, *image);
|
||||
return LoadFromTGAFile(fileName, TGA_FLAGS_NONE, &info, *image);
|
||||
}
|
||||
else if (_wcsicmp(ext, L".hdr") == 0)
|
||||
{
|
||||
@@ -685,7 +685,7 @@ namespace
|
||||
return SaveToDDSFile(*image, DDS_FLAGS_NONE, fileName);
|
||||
|
||||
case CODEC_TGA:
|
||||
return SaveToTGAFile(*image, fileName);
|
||||
return SaveToTGAFile(*image, TGA_FLAGS_NONE, fileName);
|
||||
|
||||
case CODEC_HDR:
|
||||
return SaveToHDRFile(*image, fileName);
|
||||
|
||||
Reference in New Issue
Block a user