Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Nov 9, 2023
1 parent 2fe40f0 commit 370eb6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/wtldecoder/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,7 @@ struct WTLLibrary
if (Images[index]->Texture.empty())
{
seek_fileptr(_fStream, _indexList[index] + 16, SEEK_SET);
// Images[index]->CreateTexture(_fStream);
Images[index]->DecompressV1Texture(_fStream);
Images[index]->CreateTexture(_fStream);

Images[index]->Texture.toARGB();
imgf::saveImageBuffer(Images[index]->Texture.data.data(), Images[index]->THeader.width, Images[index]->THeader.height, str_printf("%d.png", index).c_str());
Expand Down

0 comments on commit 370eb6c

Please sign in to comment.